/*
Theme Name: DKB Media
Theme URI: https://dkbmedia.com
Author: DKB Media
Author URI: https://dkbmedia.com
Description: Modern tech-forward theme for DKB Media — Google Ads, AI Automation, App Development.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: proprietary
Text Domain: dkbmedia
*/

/* ═══════════════════════════════════════════════════════════════
   DKB Media — Modern Tech Design System
   ═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --bg:       #0a0a0f;
  --bg-2:     #111118;
  --bg-3:     #1a1a24;
  --surface:  #16161f;
  --border:   rgba(255,255,255,.08);
  --border-h: rgba(255,255,255,.14);

  --text:     #e8e8ed;
  --text-2:   #9a9aad;
  --text-3:   #6a6a7e;

  --accent:   #6366f1;
  --accent-2: #818cf8;
  --accent-glow: rgba(99,102,241,.25);
  --green:    #34d399;
  --green-glow: rgba(52,211,153,.2);

  --font:     'Inter', -apple-system, sans-serif;
  --mono:     'JetBrains Mono', monospace;

  --ease:     cubic-bezier(.4,0,.2,1);
  --radius:   12px;
  --radius-lg: 20px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ─── UTILITIES ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: var(--accent-glow);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: 100px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
  padding: 14px 32px;
  font-size: 16px;
}
.btn--sm  { padding: 8px 18px; font-size: 14px; }
.btn--lg  { padding: 16px 40px; font-size: 17px; }
.btn--full { width: 100%; }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-h);
}
.btn--outline:hover {
  background: rgba(255,255,255,.05);
  border-color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all .3s var(--ease);
  background: transparent;
}
.nav.scrolled {
  background: rgba(10,10,15,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { display: flex; align-items: baseline; gap: 2px; font-size: 22px; }
.nav__logo-mark {
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav__logo-text { font-weight: 300; color: var(--text-2); }
.nav__links {
  display: flex; gap: 32px;
}
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: color .2s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__phone {
  font-size: 14px;
  font-family: var(--mono);
  color: var(--text-2);
  transition: color .2s;
}
.nav__phone:hover { color: var(--accent-2); }
.nav__burger { display: none; background: none; border: none; cursor: pointer; }
.nav__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); margin: 5px 0;
  transition: all .3s;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}
.hero__orb--1 {
  width: 500px; height: 500px;
  background: rgba(99,102,241,.15);
  top: -10%; right: 10%;
}
.hero__orb--2 {
  width: 300px; height: 300px;
  background: rgba(52,211,153,.1);
  bottom: 10%; left: 5%;
  animation-delay: -3s;
}
.hero__orb--3 {
  width: 200px; height: 200px;
  background: rgba(129,140,248,.12);
  top: 40%; left: 40%;
  animation-delay: -5s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -20px) scale(1.05); }
  66%      { transform: translate(-20px, 15px) scale(.95); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: var(--mono);
  color: var(--green);
  padding: 8px 16px;
  background: var(--green-glow);
  border: 1px solid rgba(52,211,153,.2);
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.hero__title-rotate {
  display: inline;
}
.hero__title-word {
  display: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__title-word.active {
  display: inline;
}
.hero__title-word.exit {
  opacity: 0;
  transform: translateY(-100%);
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
}
.hero__stats {
  display: flex;
  gap: 48px;
}
.hero__stat { text-align: left; }
.hero__stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}
.hero__stat-suffix {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-2);
}
.hero__stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-3);
  margin-top: 4px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero visual - canvas */
.hero__visual {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  z-index: 0;
  opacity: .6;
}
#nodeCanvas {
  width: 100%; height: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════ */
.services {
  padding: 120px 0;
  background: var(--bg);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all .35s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}
.service-card:hover::before { opacity: 1; }

.service-card--featured {
  border-color: rgba(99,102,241,.25);
  background: linear-gradient(180deg, rgba(99,102,241,.06) 0%, var(--surface) 100%);
}
.service-card__badge {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-2);
  background: var(--accent-glow);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(99,102,241,.2);
}
.service-card__icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border: 1px solid rgba(99,102,241,.15);
  border-radius: 14px;
  color: var(--accent-2);
  margin-bottom: 24px;
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card__desc {
  font-size: .95rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-card__list {
  margin-bottom: 24px;
}
.service-card__list li {
  font-size: .9rem;
  color: var(--text-2);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.service-card__link {
  font-size: .9rem;
  font-weight: 600;
  color: var(--accent-2);
  transition: gap .2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-card__link:hover { gap: 8px; }

/* ═══════════════════════════════════════════════════════════════
   AI AUTOMATION SECTION
   ═══════════════════════════════════════════════════════════════ */
.automation {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.automation__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.automation__text .section-tag { margin-bottom: 16px; }
.automation__text .section-title { text-align: left; margin-bottom: 16px; }
.automation__text .section-sub {
  text-align: left;
  margin: 0 0 40px;
}
.automation__steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.automation__step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all .3s var(--ease);
}
.automation__step:hover {
  background: rgba(99,102,241,.05);
  border-color: rgba(99,102,241,.15);
}
.automation__step-num {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-2);
  background: var(--accent-glow);
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(99,102,241,.2);
  flex-shrink: 0;
}
.automation__step h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.automation__step p {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* Flow diagram */
.automation__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.automation__diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 400px;
}
.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  z-index: 2;
  transition: all .3s var(--ease);
}
.flow-node__icon { font-size: 24px; }
.flow-node__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  font-family: var(--mono);
}
.flow-node--ai {
  background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(52,211,153,.1));
  border-color: rgba(99,102,241,.3);
  padding: 24px 32px;
}
.flow-node--ai .flow-node__label { color: var(--accent-2); }
.flow-node__pulse {
  position: absolute;
  inset: -4px;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  opacity: 0;
  animation: flowPulse 2s ease-in-out infinite;
}
@keyframes flowPulse {
  0%   { opacity: .6; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.15); }
}

.flow-line {
  width: 2px;
  height: 40px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.flow-particle {
  position: absolute;
  top: -8px; left: -3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: particleDown 2s ease-in-out infinite;
}
@keyframes particleDown {
  0%   { top: -8px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.flow-branches {
  display: flex;
  gap: 24px;
  margin-top: 0;
}
.flow-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flow-branch .flow-line { height: 32px; }
.flow-branch .flow-node {
  padding: 12px 16px;
  font-size: 12px;
}
.flow-branch .flow-node__icon { font-size: 18px; }
.flow-branch .flow-node__label { font-size: 11px; }

.flow-line--2 .flow-particle { animation-delay: .2s; }
.flow-line--3 .flow-particle { animation-delay: .5s; }
.flow-line--4 .flow-particle { animation-delay: .8s; }

/* ═══════════════════════════════════════════════════════════════
   INDUSTRIES
   ═══════════════════════════════════════════════════════════════ */
.industries {
  padding: 120px 0;
  background: var(--bg);
}
.industries__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all .25s var(--ease);
  cursor: default;
}
.industry-chip:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(99,102,241,.06);
  transform: translateY(-2px);
}
.industry-chip span { font-size: 1.1rem; }

/* ═══════════════════════════════════════════════════════════════
   SHOWCASE (SimplyCompare)
   ═══════════════════════════════════════════════════════════════ */
.showcase {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.showcase__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.showcase__browser {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 32px 64px rgba(0,0,0,.3);
}
.showcase__browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--red    { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green  { background: #28c840; }
.showcase__browser-url {
  margin-left: 12px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--text-3);
  background: var(--bg);
  padding: 4px 12px;
  border-radius: 6px;
  flex: 1;
  max-width: 200px;
}
.showcase__browser-content { padding: 24px; }

/* Mockup table */
.showcase__mockup {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.mockup-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}
.mockup-col { padding: 10px 14px; }
.mockup-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.mockup-row:nth-child(odd) { background: rgba(255,255,255,.02); }
.mockup-cell { padding: 10px 14px; color: var(--text-2); }
.mockup-cell--hl {
  background: rgba(99,102,241,.1);
  color: var(--accent-2);
  font-weight: 600;
}

.showcase__text .section-tag { margin-bottom: 16px; }
.showcase__text .section-title { text-align: left; margin-bottom: 16px; }
.showcase__text .section-sub {
  text-align: left;
  margin: 0 0 24px;
}
.showcase__features {
  margin-bottom: 40px;
}
.showcase__features li {
  font-size: .95rem;
  color: var(--text-2);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}
.showcase__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   WHY DKB
   ═══════════════════════════════════════════════════════════════ */
.why {
  padding: 120px 0;
  background: var(--bg);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all .3s var(--ease);
}
.why-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
}
.why-card__num {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(99,102,241,.3);
  margin-bottom: 16px;
}
.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.why-card p {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   PROPOSAL / CTA
   ═══════════════════════════════════════════════════════════════ */
.proposal {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.proposal__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.proposal__text .section-title { text-align: left; }
.proposal__text .section-sub {
  text-align: left;
  margin: 0 0 32px;
}
.proposal__contact { display: flex; flex-direction: column; gap: 12px; }
.proposal__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-2);
  transition: color .2s;
}
.proposal__contact-item svg { color: var(--accent-2); flex-shrink: 0; }
.proposal__contact-item:hover { color: var(--accent-2); }

.proposal__form-wrap {
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236a6a7e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  padding: 80px 0 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand p {
  font-size: .9rem;
  color: var(--text-3);
  margin-top: 16px;
  max-width: 260px;
  line-height: 1.7;
}
.footer__col h4 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-2);
  margin-bottom: 16px;
}
.footer__col li { margin-bottom: 8px; }
.footer__col a {
  font-size: .9rem;
  color: var(--text-3);
  transition: color .2s;
}
.footer__col a:hover { color: var(--accent-2); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer__bottom p {
  font-size: .85rem;
  color: var(--text-3);
}

/* ═══════════════════════════════════════════════════════════════
   AOS (simple scroll animation)
   ═══════════════════════════════════════════════════════════════ */
[data-aos] {
  opacity: 1;
  transform: translateY(0);
  transition: all .6s var(--ease);
}
[data-aos].aos-hidden {
  opacity: 0;
  transform: translateY(30px);
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   GENERIC PAGE (About, Contact, etc.)
   ═══════════════════════════════════════════════════════════════ */
.page-content {
  padding: 140px 0 80px;
  min-height: 60vh;
}
.page-content__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 32px;
}
.page-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 40px 0 16px;
}
.page-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 32px 0 12px;
}
.page-content p {
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}
.page-content a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.page-content a:hover { color: var(--accent); }
.page-content ul, .page-content ol {
  color: var(--text-2);
  padding-left: 24px;
  margin-bottom: 16px;
}
.page-content li { margin-bottom: 8px; line-height: 1.7; }
.page-content img {
  border-radius: var(--radius);
  margin: 24px 0;
}
.page-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-2);
  font-style: italic;
}
/* ═══════════════════════════════════════════════════════════════
   WPFORMS DARK THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════ */
.proposal__form-wrap .wpforms-container {
  background: transparent !important;
}
.proposal__form-wrap .wpforms-form input[type="text"],
.proposal__form-wrap .wpforms-form input[type="email"],
.proposal__form-wrap .wpforms-form input[type="tel"],
.proposal__form-wrap .wpforms-form input[type="url"],
.proposal__form-wrap .wpforms-form input[type="number"],
.proposal__form-wrap .wpforms-form select,
.proposal__form-wrap .wpforms-form textarea {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  color: var(--text) !important;
  padding: 12px 16px !important;
  font-family: var(--font) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  transition: border-color .2s !important;
  box-sizing: border-box !important;
}
.proposal__form-wrap .wpforms-form select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9aad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 12px 8px !important;
  padding-right: 40px !important;
  cursor: pointer !important;
  height: auto !important;
}
.proposal__form-wrap .wpforms-form select option {
  background: var(--bg) !important;
  color: var(--text) !important;
  padding: 8px !important;
}
.proposal__form-wrap .wpforms-form input:focus,
.proposal__form-wrap .wpforms-form select:focus,
.proposal__form-wrap .wpforms-form textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-glow) !important;
  outline: none !important;
}
.proposal__form-wrap .wpforms-form label,
.proposal__form-wrap .wpforms-form .wpforms-field-label {
  color: var(--text-2) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  font-family: var(--font) !important;
}
.proposal__form-wrap .wpforms-form .wpforms-field-sublabel {
  color: var(--text-3) !important;
}
.proposal__form-wrap .wpforms-form button[type="submit"],
.proposal__form-wrap .wpforms-form .wpforms-submit {
  background: var(--accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px 32px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  font-family: var(--font) !important;
  cursor: pointer !important;
  width: 100% !important;
  box-shadow: 0 4px 24px var(--accent-glow) !important;
  transition: all .25s var(--ease) !important;
}
.proposal__form-wrap .wpforms-form button[type="submit"]:hover,
.proposal__form-wrap .wpforms-form .wpforms-submit:hover {
  background: var(--accent-2) !important;
  transform: translateY(-2px) !important;
}
.proposal__form-wrap .wpforms-form .wpforms-required-label {
  color: #f87171 !important;
}
.proposal__form-wrap .wpforms-confirmation-container-full {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--green) !important;
  border-radius: var(--radius) !important;
}

/* WordPress classes */
.aligncenter { display: block; margin: 24px auto; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .85rem; color: var(--text-3); margin-top: 8px; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .automation__layout { grid-template-columns: 1fr; gap: 48px; }
  .automation__visual { order: -1; }
  .showcase__layout { grid-template-columns: 1fr; gap: 48px; }
  .showcase__visual { order: -1; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .proposal__layout { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__visual { display: none; }
}
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,15,.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }
  .nav__links.open {
    display: flex;
  }
  .nav__links a {
    font-size: 1.5rem;
    color: var(--text);
  }
  .nav__phone { display: none; }
  .nav__burger {
    display: block;
    position: relative;
    z-index: 1001;
  }
  .nav__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__burger.active span:nth-child(2) {
    opacity: 0;
  }
  .nav__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .hero { min-height: auto; padding: 140px 24px 80px; }
  .hero__title { font-size: 2.2rem; }
  .hero__ctas { flex-direction: column; }
  .hero__stats { flex-direction: column; gap: 24px; }
  .why__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .flow-branches { gap: 12px; }
  .flow-branch .flow-node { padding: 10px 12px; }
}
