/* ============================================================
   KOVA DESIGNS — MAIN STYLESHEET
   ============================================================ */

/* ── Dark theme (default) ── */
:root,
[data-theme="dark"] {
  --clr-bg:       #060D1A;
  --clr-bg-2:     #0A1628;
  --clr-bg-3:     #0F1E36;
  --clr-bg-card:  #112039;
  --clr-accent:   #2563EB;
  --clr-accent-h: #1D4ED8;
  --clr-accent-s: rgba(37, 99, 235, 0.10);
  --clr-accent-b: rgba(37, 99, 235, 0.22);
  --clr-txt-1:    #EEF2FF;
  --clr-txt-2:    #8BA2C4;
  --clr-txt-3:    #4A5F7A;
  --clr-border:   rgba(255, 255, 255, 0.06);
  --clr-border-h: rgba(255, 255, 255, 0.11);
  --r-s: 6px;
  --r-m: 12px;
  --r-l: 20px;
  --ease: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--clr-bg);
  color: var(--clr-txt-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* Container */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Section */
.section { padding: 96px 0; }
.section--lg { padding: 120px 0; }

/* Section label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #60A5FA;
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: #60A5FA;
  flex-shrink: 0;
}

/* Section headings */
.section-heading {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 17px;
  color: var(--clr-txt-2);
  line-height: 1.75;
  max-width: 500px;
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(130deg, #60A5FA 0%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-s);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease),
              color var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--clr-accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--clr-accent-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.35);
  color: #fff;
}
.btn--ghost {
  color: var(--clr-txt-2);
  border: 1px solid var(--clr-border-h);
}
.btn--ghost:hover {
  color: var(--clr-txt-1);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}
.btn--outline {
  color: #93C5FD;
  border: 1px solid var(--clr-accent-b);
  background: var(--clr-accent-s);
}
.btn--outline:hover {
  background: rgba(37, 99, 235, 0.18);
  border-color: var(--clr-accent);
  color: #BFDBFE;
}
.btn svg { flex-shrink: 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 22px 0;
  transition: background var(--ease-slow), padding var(--ease-slow), border-bottom var(--ease-slow);
}
.nav.is-scrolled {
  background: rgba(6, 13, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  border-bottom: 1px solid var(--clr-border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 11px;
}
.nav__logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.nav__logo-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-txt-1);
  line-height: 1;
}
.nav__logo-sub {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-txt-3);
  margin-top: 3px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-txt-2);
  letter-spacing: 0.01em;
  transition: color var(--ease);
}
.nav__links a:hover,
.nav__links a.active { color: var(--clr-txt-1); }
.nav__cta {
  background: var(--clr-accent) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: var(--r-s);
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background var(--ease), transform var(--ease) !important;
}
.nav__cta:hover {
  background: var(--clr-accent-h) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 950;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-txt-2);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav__links.is-open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: var(--clr-bg);
  z-index: 800;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.nav__links.is-open a { font-size: 22px; font-weight: 600; }
.nav__links.is-open .nav__cta {
  padding: 14px 40px !important;
  font-size: 16px !important;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 100px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }

.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero__glow--1 {
  width: 700px; height: 700px;
  top: -20%; right: -10%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.09) 0%, transparent 70%);
  animation: glow-drift 14s ease-in-out infinite;
}
.hero__glow--2 {
  width: 500px; height: 500px;
  bottom: -15%; left: -8%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.07) 0%, transparent 70%);
  animation: glow-drift 18s ease-in-out infinite reverse;
}
@keyframes glow-drift {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(14px, -10px); }
  66%       { transform: translate(-10px, 12px); }
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 40%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 40%, black 0%, transparent 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clr-accent-s);
  border: 1px solid var(--clr-accent-b);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #93C5FD;
  margin-bottom: 30px;
}
.hero__badge-dot {
  width: 7px; height: 7px;
  background: #3B82F6;
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(44px, 6.5vw, 78px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero p {
  font-size: 18px;
  color: var(--clr-txt-2);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 44px;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--clr-txt-3);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--clr-txt-3), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.6); }
}

/* ============================================================
   TICKER
   ============================================================ */

.ticker {
  padding: 16px 0;
  background: var(--clr-bg-3);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  overflow: hidden;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}
.ticker__track:hover { animation-play-state: paused; }
.ticker__item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-txt-3);
  white-space: nowrap;
}
.ticker__sep {
  color: var(--clr-accent);
  font-size: 14px;
  line-height: 1;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.service-card {
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-m);
  padding: 36px 32px;
  transition: border-color var(--ease), transform var(--ease), background var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-accent-b), transparent);
  opacity: 0;
  transition: opacity var(--ease);
}
.service-card:hover {
  border-color: var(--clr-accent-b);
  transform: translateY(-5px);
  background: var(--clr-bg-card);
}
.service-card:hover::after { opacity: 1; }
.service-card__icon {
  width: 44px; height: 44px;
  background: var(--clr-accent-s);
  border: 1px solid var(--clr-accent-b);
  border-radius: var(--r-s);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60A5FA;
  margin-bottom: 24px;
}
.service-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card__desc {
  font-size: 14px;
  color: var(--clr-txt-2);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-card__price {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.service-card__price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-txt-3);
}
.service-card__link {
  font-size: 13px;
  font-weight: 600;
  color: #60A5FA;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--ease), color var(--ease);
}
.service-card__link:hover { gap: 10px; color: #93C5FD; }

/* ============================================================
   WHY KOVA
   ============================================================ */

.why { background: var(--clr-bg-2); }
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why__points {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}
.why__point { display: flex; gap: 16px; }
.why__point-num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  background: var(--clr-accent-s);
  border: 1px solid var(--clr-accent-b);
  border-radius: var(--r-s);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #60A5FA;
  margin-top: 1px;
}
.why__point-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.why__point-desc {
  font-size: 14px;
  color: var(--clr-txt-2);
  line-height: 1.65;
}
.why__visual-card {
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-l);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.why__visual-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.4), transparent);
}
.why__stat { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 4px; }
.why__stat-label { font-size: 14px; color: var(--clr-txt-2); margin-bottom: 28px; }
.why__bar {
  height: 4px;
  background: var(--clr-border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}
.why__bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--clr-accent), #818CF8);
}
.why__bar-label {
  font-size: 12px;
  color: var(--clr-txt-3);
  margin-bottom: 24px;
}
.why__checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why__check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--clr-txt-2);
}
.why__check-item::before {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  background: var(--clr-accent-s);
  border: 1px solid var(--clr-accent-b);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%232563EB' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================================
   PORTFOLIO PREVIEW
   ============================================================ */

.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-card {
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease);
}
.portfolio-card:hover {
  border-color: var(--clr-border-h);
  transform: translateY(-5px);
}
.portfolio-card__thumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.portfolio-card__thumb-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-card__body { padding: 20px 22px 24px; }
.portfolio-card__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #60A5FA;
  margin-bottom: 5px;
}
.portfolio-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 7px;
}
.portfolio-card__desc {
  font-size: 13px;
  color: var(--clr-txt-2);
  line-height: 1.6;
}

/* Placeholder gradient thumbs */
.thumb--consulting  { background: linear-gradient(135deg, #0F2547 0%, #1A3A6B 50%, #162D56 100%); }
.thumb--health      { background: linear-gradient(135deg, #063A3A 0%, #0A5A4A 50%, #064040 100%); }
.thumb--tech        { background: linear-gradient(135deg, #160B3A 0%, #2D1B6B 50%, #1A0F4A 100%); }
.thumb--bakery      { background: linear-gradient(135deg, #3A1A05 0%, #6B3A0A 50%, #4A2208 100%); }
.thumb--agency      { background: linear-gradient(135deg, #0A0A0A 0%, #1A1A2E 50%, #16213E 100%); }
.thumb--ecommerce   { background: linear-gradient(135deg, #0A1628 0%, #162040 50%, #0D1B34 100%); }
.thumb-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
  text-align: center;
  padding: 16px;
}

/* ============================================================
   PROCESS
   ============================================================ */

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--clr-border);
  border-radius: var(--r-m);
  overflow: hidden;
  margin-top: 52px;
}
.process-step {
  background: var(--clr-bg-2);
  padding: 40px 36px;
  transition: background var(--ease);
}
.process-step:hover { background: var(--clr-bg-3); }
.process-step__num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 20px;
}
.process-step__title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.process-step__desc  { font-size: 14px; color: var(--clr-txt-2); line-height: 1.7; }

/* ============================================================
   CONTACT
   ============================================================ */

.contact-section { background: var(--clr-bg-2); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.contact__heading {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.contact__sub {
  font-size: 16px;
  color: var(--clr-txt-2);
  line-height: 1.75;
  margin-bottom: 36px;
}
.contact__detail { display: flex; flex-direction: column; gap: 14px; }
.contact__detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--clr-txt-2);
}
.contact__detail-icon {
  width: 34px; height: 34px;
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-s);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #60A5FA;
}

/* Form */
.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--clr-txt-2);
}
.form__input,
.form__textarea,
.form__select {
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-s);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--clr-txt-1);
  font-family: inherit;
  transition: border-color var(--ease), background var(--ease);
  width: 100%;
  appearance: none;
}
.form__input::placeholder,
.form__textarea::placeholder { color: var(--clr-txt-3); }
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--clr-accent-b);
  background: var(--clr-bg-card);
}
.form__textarea { resize: vertical; min-height: 120px; }
.form__radio-group { display: flex; gap: 10px; }
.form__radio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-s);
  cursor: pointer;
  font-size: 14px;
  color: var(--clr-txt-2);
  transition: border-color var(--ease), background var(--ease), color var(--ease);
  flex: 1;
}
.form__radio input[type="radio"] { accent-color: var(--clr-accent); }
.form__radio:has(input:checked) {
  border-color: var(--clr-accent-b);
  background: var(--clr-accent-s);
  color: var(--clr-txt-1);
}
.form__submit {
  background: var(--clr-accent);
  color: #fff;
  padding: 13px;
  border-radius: var(--r-s);
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.form__submit:hover {
  background: var(--clr-accent-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.3);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: 60px 0 28px;
  border-top: 1px solid var(--clr-border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand-tagline {
  font-size: 14px;
  color: var(--clr-txt-3);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 220px;
}
.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-txt-3);
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 14px;
  color: var(--clr-txt-2);
  transition: color var(--ease);
}
.footer__links a:hover { color: var(--clr-txt-1); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--clr-border);
  font-size: 13px;
  color: var(--clr-txt-3);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 32px; height: 32px;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-s);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-txt-3);
  font-size: 13px;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
  font-style: normal;
}
.footer__social a:hover {
  border-color: var(--clr-border-h);
  color: var(--clr-txt-1);
  background: var(--clr-bg-3);
}

/* ============================================================
   PAGE HEADERS (subpages)
   ============================================================ */

.page-header {
  padding: 150px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--clr-border);
}
.page-header__bg {
  position: absolute;
  inset: 0;
  background: var(--clr-bg-2);
}
.page-header__bg::before {
  content: '';
  position: absolute;
  top: -30%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
  border-radius: 50%;
}
.page-header__bg::after {
  content: '';
  position: absolute;
  bottom: -20%; left: 20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.page-header__content { position: relative; z-index: 1; }
.page-header h1 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 16px;
}
.page-header p {
  font-size: 17px;
  color: var(--clr-txt-2);
  max-width: 500px;
  line-height: 1.75;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text p {
  font-size: 16px;
  color: var(--clr-txt-2);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-visual {
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-l);
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual__inner {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--clr-bg-3) 0%, var(--clr-bg-card) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--clr-txt-3);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.value-card {
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-m);
  padding: 28px 24px;
  transition: border-color var(--ease), transform var(--ease);
}
.value-card:hover { border-color: var(--clr-border-h); transform: translateY(-3px); }
.value-card__icon { font-size: 22px; margin-bottom: 14px; line-height: 1; }
.value-card__title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.value-card__desc { font-size: 13px; color: var(--clr-txt-2); line-height: 1.65; }

/* Pillars (about page) */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--clr-border);
  border-radius: var(--r-m);
  overflow: hidden;
  margin-top: 52px;
}
.pillar {
  background: var(--clr-bg-2);
  padding: 40px 32px;
  transition: background var(--ease);
}
.pillar:hover { background: var(--clr-bg-3); }
.pillar__num { font-size: 32px; font-weight: 800; color: var(--clr-accent-b); line-height: 1; margin-bottom: 16px; }
.pillar__title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.pillar__desc { font-size: 14px; color: var(--clr-txt-2); line-height: 1.7; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */

.services-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 52px;
}
.service-full-card {
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-m);
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  transition: border-color var(--ease), transform var(--ease);
}
.service-full-card:hover {
  border-color: var(--clr-accent-b);
  transform: translateX(4px);
}
.service-full-card__icon {
  width: 56px; height: 56px;
  background: var(--clr-accent-s);
  border: 1px solid var(--clr-accent-b);
  border-radius: var(--r-m);
  display: flex; align-items: center; justify-content: center;
  color: #60A5FA;
  flex-shrink: 0;
}
.service-full-card__title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.service-full-card__desc { font-size: 15px; color: var(--clr-txt-2); line-height: 1.7; }
.service-full-card__price {
  text-align: right;
  flex-shrink: 0;
}
.service-full-card__price-val { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.service-full-card__price-from { font-size: 12px; color: var(--clr-txt-3); margin-bottom: 4px; }

/* ============================================================
   PRICING PAGE
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.pricing-card {
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-l);
  padding: 36px 32px 32px;
  position: relative;
  transition: border-color var(--ease), transform var(--ease);
}
.pricing-card:hover { border-color: var(--clr-border-h); transform: translateY(-5px); }
.pricing-card.featured {
  border-color: var(--clr-accent-b);
  background: var(--clr-bg-card);
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-accent), #818CF8);
  border-radius: var(--r-l) var(--r-l) 0 0;
}
.pricing-badge {
  display: inline-block;
  background: var(--clr-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.pricing-card__name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--clr-txt-3);
  margin-bottom: 12px;
}
.pricing-card__price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.pricing-card__price sup {
  font-size: 22px;
  font-weight: 700;
  vertical-align: super;
  font-size: 60%;
}
.pricing-card__tagline {
  font-size: 14px;
  color: var(--clr-txt-2);
  margin-bottom: 28px;
  line-height: 1.5;
}
.pricing-divider { height: 1px; background: var(--clr-border); margin: 24px 0; }
.pricing-features { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--clr-txt-2);
}
.pricing-feature::before {
  content: '';
  width: 17px; height: 17px;
  flex-shrink: 0;
  background: var(--clr-accent-s);
  border: 1px solid var(--clr-accent-b);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3.5L3.2 5.5L8 1' stroke='%232563EB' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* FAQ */
.faq-list { margin-top: 52px; display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--clr-border);
}
.faq-item:first-child { border-top: 1px solid var(--clr-border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: left;
  color: var(--clr-txt-1);
  transition: color var(--ease);
}
.faq-question:hover { color: #60A5FA; }
.faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--clr-txt-3);
  transition: transform var(--ease), color var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--clr-accent); }
.faq-answer {
  font-size: 15px;
  color: var(--clr-txt-2);
  line-height: 1.75;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding var(--ease);
  padding-bottom: 0;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 22px; }

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */

.portfolio-filter { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--clr-border);
  color: var(--clr-txt-2);
  transition: all var(--ease);
  cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--clr-accent-s);
  border-color: var(--clr-accent-b);
  color: #93C5FD;
}
.portfolio-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ============================================================
   BLOG PAGE
   ============================================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.blog-card {
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease);
}
.blog-card:hover { border-color: var(--clr-border-h); transform: translateY(-5px); }
.blog-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.blog-card__img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.blog-img--1 { background: linear-gradient(135deg, #0F1E36 0%, #1A3A6B 100%); }
.blog-img--2 { background: linear-gradient(135deg, #160B3A 0%, #2D1B6B 100%); }
.blog-img--3 { background: linear-gradient(135deg, #063A3A 0%, #0A5A4A 100%); }
.blog-img-icon { color: rgba(255,255,255,0.12); }
.blog-card__body { padding: 22px 24px 26px; }
.blog-card__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #60A5FA;
  margin-bottom: 8px;
}
.blog-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  transition: color var(--ease);
}
.blog-card:hover .blog-card__title { color: #60A5FA; }
.blog-card__excerpt {
  font-size: 13px;
  color: var(--clr-txt-2);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--clr-txt-3);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1),
              transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }
.reveal--d4 { transition-delay: 0.4s; }

/* CTA Banner */
.cta-banner {
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-l);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-accent-b), transparent);
}
.cta-banner h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 12px; }
.cta-banner p { font-size: 16px; color: var(--clr-txt-2); margin-bottom: 32px; }
.cta-banner__actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .services-grid,
  .portfolio-grid,
  .portfolio-full-grid,
  .blog-grid        { grid-template-columns: repeat(2, 1fr); }
  .process-steps    { grid-template-columns: 1fr; }
  .pillars          { grid-template-columns: 1fr; }
  .why__inner       { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pricing-grid     { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .contact__inner   { grid-template-columns: 1fr; gap: 48px; }
  .about-split      { grid-template-columns: 1fr; }
  .service-full-card { grid-template-columns: auto 1fr; }
  .service-full-card__price { grid-column: 2; text-align: left; }
}

@media (max-width: 768px) {
  .nav__links:not(.is-open) { display: none; }
  .nav__hamburger { display: flex; }
  .services-grid,
  .portfolio-grid,
  .portfolio-full-grid,
  .blog-grid        { grid-template-columns: 1fr; }
  .form__row        { grid-template-columns: 1fr; }
  .footer__grid     { grid-template-columns: 1fr; }
  .values-grid      { grid-template-columns: 1fr; }
  .portfolio-header { flex-direction: column; align-items: flex-start; }
  .hero h1          { font-size: 40px; }
  .hero p           { font-size: 16px; }
  .section          { padding: 64px 0; }
  .hero__scroll     { display: none; }
  .service-full-card { grid-template-columns: 1fr; }
  .service-full-card__price { text-align: left; }
  .cta-banner       { padding: 36px 24px; }
  .why__inner       { gap: 32px; }
}

/* ============================================================
   LIGHT THEME
   ============================================================ */

[data-theme="light"] {
  --clr-bg:       #FAFBFF;
  --clr-bg-2:     #F0F4FB;
  --clr-bg-3:     #E4EBF7;
  --clr-bg-card:  #D6E2F2;
  --clr-accent:   #2563EB;
  --clr-accent-h: #1D4ED8;
  --clr-accent-s: rgba(37, 99, 235, 0.08);
  --clr-accent-b: rgba(37, 99, 235, 0.20);
  --clr-txt-1:    #0A1628;
  --clr-txt-2:    #3A5470;
  --clr-txt-3:    #7A96B0;
  --clr-border:   rgba(0, 0, 0, 0.07);
  --clr-border-h: rgba(0, 0, 0, 0.13);
}

/* Nav — light scrolled state */
[data-theme="light"] .nav.is-scrolled {
  background: rgba(250, 251, 255, 0.92);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Logo mark — dark piece adapts via currentColor */
.nav__logo-mark { color: #EEF2FF; }
[data-theme="light"] .nav__logo-mark { color: #0A1628; }

/* Logo image (PNG) — invert for dark backgrounds */
.nav__logo-img { height: 48px; width: auto; display: block; }
[data-theme="dark"] .nav__logo-img { filter: brightness(0) invert(1); }

/* Hero grid — visible on light backgrounds */
[data-theme="light"] .hero__grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.06) 1px, transparent 1px);
}

/* Hero glows — softer on light */
[data-theme="light"] .hero__glow--1 {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
}
[data-theme="light"] .hero__glow--2 {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
}

/* Blog image placeholders — visible on both themes */
[data-theme="light"] .blog-img--1 { background: linear-gradient(135deg, #C7D8EF 0%, #A8C4E8 100%); }
[data-theme="light"] .blog-img--2 { background: linear-gradient(135deg, #C8C0E0 0%, #A8A0D0 100%); }
[data-theme="light"] .blog-img--3 { background: linear-gradient(135deg, #B0D8D0 0%, #90C8BE 100%); }
[data-theme="light"] .blog-img-icon { color: rgba(0,0,0,0.15); }

/* Thumb placeholders — adjust opacity for light mode */
[data-theme="light"] .thumb-label { color: rgba(0,0,0,0.25) !important; }

/* Ticker border */
[data-theme="light"] .ticker__item { color: var(--clr-txt-3); }

/* Form inputs on light */
[data-theme="light"] .form__select option { background: var(--clr-bg-2); color: var(--clr-txt-1); }

/* ============================================================
   THEME TOGGLE & NAV ACTIONS
   ============================================================ */

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.theme-toggle {
  width: 34px;
  height: 34px;
  border: 1px solid var(--clr-border-h);
  border-radius: var(--r-s);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-txt-2);
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--clr-accent-b);
  color: #60A5FA;
  background: var(--clr-accent-s);
}
.theme-toggle svg { pointer-events: none; }

/* ============================================================
   HERO SPLIT LAYOUT & MOCKUP VISUAL
   ============================================================ */

.hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero__split .hero__content { max-width: none; }

.hero__visual { position: relative; }

.hero__mockup {
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(0,0,0,0.30);
}
[data-theme="light"] .hero__mockup {
  box-shadow: 0 28px 72px rgba(10,22,40,0.10);
}
.hero__mockup-bar {
  background: var(--clr-bg-card);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--clr-border);
}
.hero__mockup-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--clr-border-h);
  flex-shrink: 0;
}
.hero__mockup-url {
  flex: 1; height: 20px;
  background: var(--clr-bg);
  border-radius: 4px;
  margin-left: 8px;
  border: 1px solid var(--clr-border);
}
.hero__mockup-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__mockup-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  background: var(--clr-bg-card);
  border-radius: 7px;
}
.hero__mockup-logo-sk {
  width: 52px; height: 7px;
  background: var(--clr-border-h);
  border-radius: 3px;
}
.hero__mockup-nav-links { display: flex; gap: 8px; }
.hero__mockup-nav-links span {
  display: block;
  width: 28px; height: 5px;
  background: var(--clr-border);
  border-radius: 2px;
}
.hero__mockup-nav-cta {
  width: 44px; height: 20px;
  background: var(--clr-accent);
  border-radius: 4px;
  opacity: 0.85;
}
.hero__mockup-hero-block {
  background: var(--clr-bg-card);
  border-radius: 8px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.hero__mockup-h1 {
  width: 82%; height: 9px;
  background: var(--clr-txt-1);
  border-radius: 4px;
  opacity: 0.55;
}
.hero__mockup-h2 {
  width: 58%; height: 9px;
  background: linear-gradient(90deg, #60A5FA, #818CF8);
  border-radius: 4px;
}
.hero__mockup-p {
  height: 5px;
  background: var(--clr-border-h);
  border-radius: 2px;
  margin-top: 3px;
}
.hero__mockup-p--full  { width: 100%; }
.hero__mockup-p--mid   { width: 76%; }
.hero__mockup-btns { display: flex; gap: 7px; margin-top: 6px; }
.hero__mockup-btn-p {
  width: 68px; height: 22px;
  background: var(--clr-accent);
  border-radius: 4px;
  opacity: 0.9;
}
.hero__mockup-btn-g {
  width: 56px; height: 22px;
  border: 1px solid var(--clr-border-h);
  border-radius: 4px;
}
.hero__mockup-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.hero__mockup-card-sk {
  background: var(--clr-bg-card);
  border-radius: 6px;
  padding: 9px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hero__mockup-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--clr-bg-3) 0%, var(--clr-accent-s) 100%);
  border: 1px solid var(--clr-border);
}
.hero__mockup-card-line {
  height: 5px;
  background: var(--clr-border-h);
  border-radius: 2px;
}
.hero__mockup-card-line--short { width: 60%; }

/* Floating stat pills */
.hero__float {
  position: absolute;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border-h);
  border-radius: var(--r-m);
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--clr-txt-1);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
  z-index: 2;
}
[data-theme="light"] .hero__float {
  box-shadow: 0 8px 28px rgba(10,22,40,0.09);
}
.hero__float--1 {
  bottom: -18px; left: -18px;
  animation: float-bob 5s ease-in-out infinite;
}
.hero__float--2 {
  top: -18px; right: -18px;
  animation: float-bob 5s ease-in-out 2.5s infinite;
}
.hero__float-icon {
  width: 26px; height: 26px;
  background: var(--clr-accent-s);
  border: 1px solid var(--clr-accent-b);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60A5FA;
  flex-shrink: 0;
}
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

@media (max-width: 1024px) {
  .hero__split { grid-template-columns: 1fr; gap: 40px; }
  .hero__split .hero__content { max-width: 600px; }
  .hero__visual { max-width: 480px; }
}
@media (max-width: 768px) {
  .hero__visual { display: none; }
}
