/* ═══════════════════════════════════════════
   MOUNTAINWEB – style.css
   Dark / technical aesthetic
   ═══════════════════════════════════════════ */

/* ─── Custom Properties ─── */
:root {
  --blue:        #3E82F7;
  --blue-light:  #60A5FA;
  --blue-glow:   rgba(62, 130, 247, 0.18);
  --blue-border: rgba(62, 130, 247, 0.35);

  --bg:          #080C14;
  --bg-2:        #0D1117;
  --bg-3:        #111827;
  --bg-card:     rgba(255,255,255,0.03);
  --bg-card-h:   rgba(255,255,255,0.055);

  --border:      rgba(255,255,255,0.07);
  --border-2:    rgba(255,255,255,0.12);

  --text-1:      #F8FAFC;
  --text-2:      #94A3B8;
  --text-3:      #475569;

  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
  --transition:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w:       1200px;
  --section-py:  100px;
}

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

/* ─── Utils ─── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-py) 0; }

.section__head { text-align: center; margin-bottom: 64px; }
.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section__desc {
  font-size: 1.0625rem;
  color: var(--text-2);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--blue-light);
  border-color: var(--blue-light);
  box-shadow: 0 0 24px var(--blue-glow);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border-2);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  color: var(--text-1);
  border-color: var(--border-2);
  background: var(--bg-card);
}
.btn--outline {
  background: transparent;
  color: var(--text-1);
  border-color: var(--border-2);
}
.btn--outline:hover, .btn--outline:focus-visible {
  border-color: var(--blue-border);
  color: var(--blue-light);
  background: var(--blue-glow);
}
.btn--lg { padding: 14px 32px; font-size: 1rem; }
.btn--full { width: 100%; }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ─── Reveal animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ HEADER ═══ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}
.header.scrolled {
  background: rgba(8,12,20,0.92);
  backdrop-filter: blur(12px);
  border-color: var(--border);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.8; }
.logo__svg { width: 36px; height: auto; color: var(--text-1); }
.logo__text {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-1);
}
.nav__list {
  display: flex; align-items: center; gap: 28px;
}
.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--blue);
  transition: width var(--transition);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--text-1); }
.nav__link:hover::after { width: 100%; }

.lang-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  color: var(--text-2);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 4px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.lang-btn:hover { border-color: var(--blue-border); color: var(--text-1); background: var(--blue-glow); }
.lang-btn__active { color: var(--blue-light); }
.lang-btn__sep { opacity: 0.35; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; background: none; border: none; padding: 4px;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--text-1); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══ HERO ═══ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--bg);
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero__orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.4;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(62,130,247,0.3) 0%, transparent 70%);
  top: -200px; left: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero__orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(30px, -30px); }
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero__content {
  position: relative; z-index: 1;
  padding-top: 80px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 99px;
  font-size: 0.8125rem;
  color: var(--text-2);
  margin-bottom: 28px;
}
.hero__badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px rgba(34,197,94,0.7);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.3); }
}
.hero__title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.hero__title-line { color: var(--text-1); }
.hero__title-accent {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 50%, #A78BFA 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.3s;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.175rem);
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 56px;
}
.hero__stats {
  display: flex; align-items: center; gap: 32px;
  padding: 20px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}
.hero__stat { text-align: center; }
.hero__stat-num {
  display: block;
  font-size: 1.5rem; font-weight: 700;
  color: var(--text-1); letter-spacing: -0.03em;
}
.hero__stat-label { font-size: 0.8rem; color: var(--text-3); }
.hero__stat-div { width: 1px; height: 32px; background: var(--border-2); }

.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
}
.hero__scroll span {
  display: block; width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--blue));
  margin: 0 auto;
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ═══ SERVICES ═══ */
.services { background: var(--bg-2); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-item {
  background: var(--bg-2);
  padding: 36px 32px;
  position: relative;
  transition: background var(--transition);
}
.service-item:hover { background: var(--bg-3); }
.service-item--featured { background: var(--bg-3); }
.service-item--featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light), #A78BFA);
}
.service-item__badge {
  position: absolute; top: 16px; right: 20px;
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue);
}
.service-item__icon {
  width: 44px; height: 44px; color: var(--blue);
  margin-bottom: 20px;
}
.service-item__icon svg { width: 100%; height: 100%; }
.service-item__title {
  font-size: 1.125rem; font-weight: 700;
  color: var(--text-1); margin-bottom: 12px;
}
.service-item__desc {
  font-size: 0.9375rem; color: var(--text-2);
  line-height: 1.7; margin-bottom: 24px;
}
.service-item__list { display: flex; flex-direction: column; gap: 8px; }
.service-item__list li {
  font-size: 0.875rem; color: var(--text-2);
  display: flex; align-items: center; gap: 8px;
}
.service-item__list li::before {
  content: ''; display: block; width: 14px; height: 1px;
  background: var(--blue); flex-shrink: 0;
}

/* ═══ ABOUT ═══ */
.about { background: var(--bg); }
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about__card {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.about__card::before {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  pointer-events: none;
}
.about__card-top { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.about__avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #6366F1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.about__name { font-size: 1.125rem; font-weight: 700; color: var(--text-1); }
.about__title { font-size: 0.875rem; color: var(--blue-light); }
.about__card-stats {
  display: flex; gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.about__card-stat { text-align: center; flex: 1; }
.about__card-num {
  display: block; font-size: 1.0625rem; font-weight: 700;
  color: var(--blue-light); letter-spacing: -0.02em;
}
.about__card-lbl { font-size: 0.75rem; color: var(--text-3); }
.about__card-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.about__card-tags span {
  padding: 4px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.8rem; color: var(--text-2);
}

.about__text { }
.about__text p { color: var(--text-2); line-height: 1.8; margin-bottom: 16px; font-size: 1.0625rem; }
.about__values { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.about__value {
  display: flex; align-items: flex-start; gap: 12px;
}
.about__value-icon { color: var(--blue); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.about__value strong { display: block; font-size: 0.9375rem; color: var(--text-1); margin-bottom: 2px; }
.about__value span { font-size: 0.875rem; color: var(--text-2); }

/* ═══ PROCESS ═══ */
.process { background: var(--bg-2); }
.process__steps {
  display: flex; align-items: flex-start;
  gap: 16px;
}
.process__step {
  flex: 1;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.process__step:hover { border-color: var(--blue-border); background: var(--bg-card-h); }
.process__num {
  font-size: 2rem; font-weight: 800; letter-spacing: -0.04em;
  color: var(--border-2); margin-bottom: 12px; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.process__step:hover .process__num { color: var(--blue); }
.process__title { font-size: 1rem; font-weight: 700; color: var(--text-1); margin-bottom: 8px; }
.process__desc { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; }
.process__arrow {
  font-size: 1.25rem; color: var(--text-3);
  padding-top: 28px; flex-shrink: 0;
}

/* ═══ PORTFOLIO ═══ */
.portfolio { background: var(--bg); }
.portfolio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: block;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.portfolio__item:hover {
  border-color: var(--blue-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.portfolio__img-wrap {
  aspect-ratio: 4/3; overflow: hidden; position: relative;
  background: var(--bg-3);
}
.portfolio__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio__item:hover .portfolio__img-wrap img { transform: scale(1.05); }
.portfolio__overlay {
  position: absolute; inset: 0;
  background: rgba(8,12,20,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9375rem; font-weight: 600;
  color: var(--text-1); opacity: 0;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}
.portfolio__item:hover .portfolio__overlay { opacity: 1; }
.portfolio__img-wrap--soon {
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
}
.portfolio__soon-inner {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--text-3); font-size: 0.9rem;
}
.portfolio__soon-icon { font-size: 2rem; opacity: 0.4; }
.portfolio__meta { padding: 20px 24px; }
.portfolio__name { font-size: 1.0625rem; font-weight: 700; color: var(--text-1); margin-bottom: 4px; }
.portfolio__type { font-size: 0.875rem; color: var(--text-2); margin-bottom: 12px; }
.portfolio__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.portfolio__tags span {
  padding: 3px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.75rem; color: var(--text-3);
}

/* ═══ PRICING ═══ */
.pricing { background: var(--bg-2); }

.pricing__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; max-width: 1100px; margin: 0 auto; }

.pricing-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.pricing-card[hidden] { display: none; }
.pricing-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.pricing-card--featured {
  border-color: var(--blue-border);
  background: rgba(62, 130, 247, 0.04);
}
.pricing-card__glow {
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(62,130,247,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.pricing-card__badge {
  position: absolute; top: 16px; right: 16px;
  padding: 3px 10px;
  background: var(--blue-glow);
  border: 1px solid var(--blue-border);
  border-radius: 99px;
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-light);
}
.pricing-card__head { margin-bottom: 28px; }
.pricing-card__name {
  font-size: 0.9375rem; font-weight: 600;
  color: var(--text-2); margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.pricing-card__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.pricing-card__amount {
  font-size: 2.5rem; font-weight: 800;
  letter-spacing: -0.04em; color: var(--text-1);
}
.pricing-card__currency { font-size: 0.9rem; color: var(--text-2); }
.pricing-card__sub { font-size: 0.8125rem; color: var(--text-3); }
.pricing-card__features {
  flex: 1;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
}
.pricing-card__features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text-2);
}
.pricing-card__features li::before {
  content: '✓'; font-size: 0.75rem;
  color: var(--blue); font-weight: 700; flex-shrink: 0;
}
.pricing-card__feature--off { color: var(--text-3); }
.pricing-card__feature--off::before { content: '–' !important; color: var(--text-3) !important; }

.pricing__note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-3);
  margin-top: 32px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
  line-height: 1.6;
}

/* ═══ CONTACT ═══ */
.contact { background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact__info .section__title { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 12px; }
.contact__info p { color: var(--text-2); line-height: 1.7; margin-bottom: 28px; }
.contact__details { display: flex; flex-direction: column; gap: 14px; }
.contact__detail {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9375rem; color: var(--text-2);
}
.contact__detail span { font-size: 1.1rem; }
.contact__detail a { color: var(--blue-light); transition: color var(--transition); }
.contact__detail a:hover { color: var(--text-1); }

.contact__form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-2);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.9375rem;
  font-family: var(--font);
  color: var(--text-1);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group select option { background: var(--bg-3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.form-group--consent { margin-top: 4px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.form-check input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
}
.form-check span, .form-check a { font-size: 0.8375rem; color: var(--text-3); line-height: 1.5; }
.form-check a { color: var(--blue-light); text-decoration: underline; text-underline-offset: 2px; }

.btn-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form__success {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem; color: #4ADE80;
}

/* ═══ FOOTER ═══ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer__logo { margin-bottom: 8px; }
.footer__tagline { font-size: 0.9rem; color: var(--text-2); margin-bottom: 12px; }
.footer__legal-id { font-size: 0.8125rem; color: var(--text-3); line-height: 1.6; }
.footer__legal-id a { color: var(--blue-light); }

.footer__nav { display: flex; gap: 48px; justify-content: flex-end; }
.footer__nav-col { display: flex; flex-direction: column; gap: 10px; }
.footer__nav-head {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 4px;
}
.footer__nav-col a {
  font-size: 0.9rem; color: var(--text-2);
  transition: color var(--transition);
}
.footer__nav-col a:hover { color: var(--text-1); }
.footer__copy {
  grid-column: 1 / -1;
  font-size: 0.8125rem; color: var(--text-3);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ═══ LANG SWITCH ANIMATION ═══ */
.lang-switching [data-pl],
.lang-switching [data-en] {
  transition: opacity 0.15s;
}
.lang-switching--fade [data-pl],
.lang-switching--fade [data-en] { opacity: 0; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .services__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .process__steps { flex-wrap: wrap; }
  .process__arrow { display: none; }
  .process__step { flex: 1 1 calc(50% - 16px); }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { justify-content: flex-start; }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0; top: 68px;
    background: rgba(8,12,20,0.98);
    backdrop-filter: blur(16px);
    display: flex; align-items: center; justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
  }
  .nav.open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 28px; text-align: center; }
  .nav__link { font-size: 1.125rem; }

  .hero__stats { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .hero__stat-div { display: none; }

  .portfolio__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .process__step { flex: 1 1 100%; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(2.5rem, 13vw, 4rem); }
  .hero__actions { flex-direction: column; align-items: center; }
  .about__card-stats { gap: 12px; }
}

/* ─── Focus & Motion ─── */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .hero__orb { animation: none; }
}

/* ═══════════════════════════════════════════
   ENHANCEMENTS — animations, cursor, FAQ
   ═══════════════════════════════════════════ */

/* ─── Hero canvas particles ─── */
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

/* ─── Hero entrance stagger ─── */
@keyframes heroItemIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__badge   { animation: heroItemIn 0.6s ease 0.1s both; }
.hero__title   { animation: heroItemIn 0.7s ease 0.25s both; }
.hero__sub     { animation: heroItemIn 0.6s ease 0.45s both; }
.hero__actions { animation: heroItemIn 0.6s ease 0.6s both; }
.hero__stats   { animation: heroItemIn 0.6s ease 0.8s both; }

/* ─── Counter flash ─── */
@keyframes counterPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.12); color: var(--blue-light); }
  100% { transform: scale(1); }
}
.hero__stat-num.counted { animation: counterPop 0.4s ease; }

/* ─── Process connector line ─── */
.process__steps {
  position: relative;
}
.process__steps::before {
  content: '';
  position: absolute;
  top: 40px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-border), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.process__steps.line-visible::before { opacity: 1; }

/* Stagger delay for process steps via JS data-delay */
.process__step[data-delay="1"] { transition-delay: 0.1s; }
.process__step[data-delay="2"] { transition-delay: 0.2s; }
.process__step[data-delay="3"] { transition-delay: 0.3s; }
.process__step[data-delay="4"] { transition-delay: 0.4s; }

/* ─── Tilt cards ─── */
.tilt {
  transform-style: preserve-3d;
  transform: perspective(800px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.15s ease;
  will-change: transform;
}

/* ─── Magnetic button ─── */
.btn--magnetic {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
              background var(--transition), border-color var(--transition),
              color var(--transition), box-shadow var(--transition);
}

/* ─── FAQ section ─── */
.faq { background: var(--bg); }

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq__item { background: var(--bg-2); }
.faq__item + .faq__item { border-top: 1px solid var(--border); }
.faq__item.open { background: var(--bg-3); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-1);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
  font-family: var(--font);
}
.faq__q:hover { color: var(--blue-light); background: var(--bg-card); }
.faq__item.open .faq__q { color: var(--blue-light); }

.faq__icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 1.5px solid var(--border-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.faq__icon::before { width: 8px; height: 1.5px; }
.faq__icon::after  { width: 1.5px; height: 8px; }

.faq__item.open .faq__icon {
  border-color: var(--blue-border);
  background: var(--blue-glow);
  transform: rotate(45deg);
}
.faq__item.open .faq__icon::before,
.faq__item.open .faq__icon::after { background: var(--blue-light); }

.faq__a {
  padding: 0 28px 22px;
  overflow: hidden;
}
.faq__a[hidden] { display: none; }
.faq__a.animating { display: block; }
.faq__a p {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* ─── Highlight text on section eyebrow when visible ─── */
@keyframes eyebrowIn {
  from { opacity: 0; letter-spacing: 0.08em; }
  to   { opacity: 1; letter-spacing: 0.16em; }
}
.section__eyebrow.visible { animation: eyebrowIn 0.5s ease both; }

/* ─── Portfolio item pulse on "in progress" ─── */
.portfolio__soon-icon {
  animation: softPulse 2.4s ease-in-out infinite;
}
@keyframes softPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.15); }
}

/* ─── Nav link active state ─── */
.nav__link.active { color: var(--text-1); }
.nav__link.active::after { width: 100%; }

/* ─── Additional responsive for FAQ ─── */
@media (max-width: 768px) {
  .faq__q { padding: 18px 20px; font-size: 0.9375rem; }
  .faq__a { padding: 0 20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__canvas { display: none; }
  .hero__badge, .hero__title, .hero__sub, .hero__actions, .hero__stats { animation: none; opacity: 1; }
}
