/* ============================================================
   ENTERPRISE PORTFOLIO THEME — main.css
   ============================================================ */

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  --bg: #080C14;
  --bg2: #0C1220;
  --panel: #0F1A2E;
  --panel2: #0B162B;
  --text: #EAF0FF;
  --muted: rgba(234, 240, 255, .65);
  --border: rgba(255, 255, 255, .08);
  --border-hi: rgba(255, 255, 255, .16);
  --brand: #7C5CFF;
  --brand2: #2DD4BF;
  --brand-rgb: 124, 92, 255;
  --brand2-rgb: 45, 212, 191;
  --gold: #FBBF24;
  --danger: #FF5C7A;
  --success: #2DD4BF;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, .3);
  --shadow: 0 16px 48px rgba(0, 0, 0, .50);
  --shadow-xl: 0 28px 80px rgba(0, 0, 0, .65);
  --radius: 16px;
  --radius2: 24px;
  --radius-full: 9999px;
  --container: 1160px;
  --header-h: 68px;
  --ease: cubic-bezier(.22, .68, 0, 1.2);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --transition: .22s var(--ease-out);
}

/* ── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  background:
    radial-gradient(ellipse 1400px 700px at 15% -5%, rgba(124, 92, 255, .22) 0%, transparent 65%),
    radial-gradient(ellipse 1000px 580px at 92% 8%, rgba(45, 212, 191, .15) 0%, transparent 60%),
    radial-gradient(ellipse 800px 500px at 50% 110%, rgba(124, 92, 255, .10) 0%, transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* ── Utility ─────────────────────────────────────────────── */
.muted {
  color: var(--muted);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.container--wide {
  width: min(1300px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  background: var(--panel);
  border: 1px solid var(--border-hi);
  border-radius: 12px;
  z-index: 9999;
}

/* ── Reveal Animation ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

.reveal-delay-4 {
  transition-delay: .4s;
}

/* ── Site Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(8, 12, 20, .75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.site-header.scrolled {
  background: rgba(8, 12, 20, .92);
  border-bottom-color: var(--border-hi);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

/* Brand */
.site-title {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.3px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-logo {
  max-height: 40px;
  width: auto;
}

.header__avail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(45, 212, 191, .12);
  border: 1px solid rgba(45, 212, 191, .3);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand2);
  letter-spacing: .3px;
  text-transform: uppercase;
}

.header__avail::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand2);
  box-shadow: 0 0 6px var(--brand2);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(1.3);
  }
}

/* Nav */
.header__nav {
  display: flex;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu a {
  display: block;
  padding: 6px 12px;
  border-radius: 10px;
  color: rgba(234, 240, 255, .75);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -.1px;
  transition: color var(--transition), background var(--transition);
}

.menu a:hover,
.menu a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

/* Header CTA */
.header__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border-hi);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  padding: 8px;
  color: var(--text);
  transition: background var(--transition), border-color var(--transition);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, .08);
  border-color: var(--brand);
}

.nav-toggle svg {
  display: block;
  transition: transform var(--transition);
}

.nav-toggle .line-top,
.nav-toggle .line-mid,
.nav-toggle .line-bot {
  transition: transform .4s var(--ease), opacity .3s var(--ease);
  transform-origin: center;
}

/* Hamburger → X Animation */
.site-header.is-open .nav-toggle .line-top {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .nav-toggle .line-mid {
  opacity: 0;
  transform: scaleX(0);
}

.site-header.is-open .nav-toggle .line-bot {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -.1px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
  border-color: transparent;
  color: #040B18;
  box-shadow: 0 8px 28px rgba(var(--brand-rgb), .35);
}

.btn--primary:hover {
  box-shadow: 0 14px 40px rgba(var(--brand-rgb), .45);
}

.btn--ghost {
  background: rgba(255, 255, 255, .05);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .09);
  border-color: var(--border-hi);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 10px;
}

.btn--block {
  width: 100%;
}

.btn--outline {
  background: transparent;
  border-color: rgba(var(--brand-rgb), .45);
  color: var(--brand);
}

.btn--outline:hover {
  background: rgba(var(--brand-rgb), .08);
  border-color: rgba(var(--brand-rgb), .7);
}

/* ── Typography ──────────────────────────────────────────── */
.h1 {
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  font-weight: 900;
}

.h2 {
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.1;
  letter-spacing: -.8px;
  font-weight: 800;
}

.h3 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -.3px;
  font-weight: 700;
}

.lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(234, 240, 255, .82);
  max-width: 58ch;
}

/* ── Section ─────────────────────────────────────────────── */
.section {
  padding: 96px 0;
}

.section--alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .025) 0%, rgba(255, 255, 255, 0) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__head {
  margin-bottom: 48px;
}

.section__head--center {
  text-align: center;
}

.section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.section__kicker::before {
  content: '';
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  border-radius: 2px;
}

.section__sub {
  color: var(--muted);
  max-width: 60ch;
  margin-top: 10px;
  font-size: 16px;
}

.section__head--center .section__sub {
  margin-inline: auto;
}

/* ── Pill Badge ──────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(var(--brand-rgb), .35);
  background: rgba(var(--brand-rgb), .10);
  color: rgba(234, 240, 255, .92);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04);
  font-size: 12px;
  font-weight: 600;
  color: rgba(234, 240, 255, .82);
  transition: border-color var(--transition), background var(--transition);
}

.badge:hover {
  border-color: rgba(var(--brand-rgb), .4);
  background: rgba(var(--brand-rgb), .06);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 800px 500px at 60% 40%, rgba(var(--brand-rgb), .12), transparent 65%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero__kicker {
  margin-bottom: 20px;
}

.hero__heading {
  margin-bottom: 18px;
}

.hero__text {
  margin-bottom: 26px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

/* Hero metrics vertical */
.hero__metrics-vertical {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .025);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.metric-v {
  padding: 16px 14px;
  border-right: 1px solid var(--border);
  position: relative;
}

.metric-v:last-child {
  border-right: none;
}

.metric-v::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  opacity: 0;
  transition: opacity var(--transition);
}

.metric-v:hover::before {
  opacity: 1;
}

.metric-v__num {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.5px;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.metric-v__plus {
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.metric-v__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.2;
}

/* Hero visual / portrait */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.portrait {
  position: relative;
  width: min(400px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.portrait__img {
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border: 3px solid rgba(255, 255, 255, .14);
  box-shadow:
    0 0 0 10px rgba(var(--brand-rgb), .08),
    0 0 0 20px rgba(var(--brand-rgb), .04),
    var(--shadow-xl);
  background: radial-gradient(circle at 30% 20%, rgba(var(--brand-rgb), .3), rgba(var(--brand2-rgb), .15));
}

.portrait__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portrait__rings {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 30deg, var(--brand), var(--brand2), var(--brand));
  -webkit-mask: radial-gradient(circle at center, transparent 56%, #000 57%);
  mask: radial-gradient(circle at center, transparent 56%, #000 57%);
  opacity: .5;
  animation: spin-ring 12s linear infinite;
}

@keyframes spin-ring {
  to {
    transform: rotate(360deg);
  }
}

.portrait__dots {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .18);
  animation: spin-ring 20s linear infinite reverse;
}

/* Floating achievement cards on portrait */
.portrait__badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(15, 26, 46, .92);
  border: 1px solid var(--border-hi);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.portrait__badge--score {
  bottom: 14%;
  right: -8%;
}

.portrait__badge--rating {
  top: 16%;
  left: -10%;
}

.portrait__badge .badge-icon {
  font-size: 16px;
}

/* ── Platform Trust Signals ──────────────────────────────── */
.platform-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.platform-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  transition: border-color var(--transition);
}

.platform-tag:hover {
  border-color: var(--border-hi);
  color: var(--text);
}

.platform-tag span {
  font-size: 14px;
}

/* ── Services ────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .025);
  padding: 28px 26px 24px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 260px at 50% 0%, rgba(var(--brand-rgb), .12), transparent 70%);
  opacity: 0;
  transition: opacity .3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--brand-rgb), .3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(var(--brand-rgb), .1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--brand-rgb), .15), rgba(var(--brand2-rgb), .10));
  border: 1px solid rgba(var(--brand-rgb), .2);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service-card__tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(var(--brand-rgb), .1);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
}

/* ── About ───────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about__text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin-top: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.stat {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  background: rgba(255, 255, 255, .02);
  transition: border-color var(--transition);
}

.stat:hover {
  border-color: rgba(var(--brand-rgb), .3);
}

.stat__num {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.5px;
  color: var(--text);
}

.stat__label {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

/* Skills card */
.skills-card {
  border-radius: var(--radius2);
  padding: 32px;
  background:
    radial-gradient(500px 300px at 20% 10%, rgba(var(--brand-rgb), .14), transparent 60%),
    rgba(255, 255, 255, .03);
  border: 1px solid var(--border-hi);
  box-shadow: var(--shadow);
}

.skills-card h3 {
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.chip {
  padding: 7px 13px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(var(--brand-rgb), .06);
  color: rgba(234, 240, 255, .88);
  font-weight: 600;
  font-size: 12px;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.chip:hover {
  border-color: rgba(var(--brand-rgb), .4);
  background: rgba(var(--brand-rgb), .14);
  color: var(--text);
}

/* ── Portfolio Grid ──────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card--case {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .025);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.card--case:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--brand-rgb), .3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
}

.card__link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(var(--brand-rgb), .15), rgba(var(--brand2-rgb), .1));
  position: relative;
}

.card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease-out);
}

.card--case:hover .card__thumb img {
  transform: scale(1.04);
}

.card__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 40px;
  color: rgba(var(--brand-rgb), .3);
}

.card__body {
  padding: 22px 22px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__body h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.card__body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  flex: 1;
}

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px 18px;
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
}

.card__meta svg {
  transition: transform var(--transition);
}

.card--case:hover .card__meta svg {
  transform: translateX(3px);
}

/* ── Why Choose Me ───────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: start;
}

.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .022);
  padding: 22px;
  transition: border-color var(--transition), transform var(--transition);
}

.why-card:hover {
  border-color: rgba(var(--brand-rgb), .3);
  transform: translateY(-2px);
}

.why-icon {
  font-size: 26px;
  margin-bottom: 12px;
}

.why-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 7px;
}

.why-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.why__text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin-top: 14px;
  margin-bottom: 28px;
}

/* Tech stack side */
.tech-stack {
  border-radius: var(--radius2);
  border: 1px solid var(--border-hi);
  padding: 32px;
  background: rgba(255, 255, 255, .022);
}

.tech-stack h3 {
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

/* ── Testimonials ────────────────────────────────────────── */
.t-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.t-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .022);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.t-item::before {
  content: '\201C';
  position: absolute;
  top: -12px;
  right: 20px;
  font-size: 120px;
  line-height: 1;
  font-weight: 900;
  color: rgba(var(--brand-rgb), .08);
  font-family: Georgia, serif;
  pointer-events: none;
}

.t-item:hover {
  border-color: rgba(var(--brand-rgb), .25);
  transform: translateY(-3px);
}

.t-stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 13px;
}

.t-quote {
  color: rgba(234, 240, 255, .9);
  font-size: 15px;
  line-height: 1.7;
  flex: 1;
}

.t-author-clean {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.t-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  color: #040B18;
  flex-shrink: 0;
}

.t-author-info {
  display: flex;
  flex-direction: column;
}

.t-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.t-role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}

.t-initials {
  display: none;
}

/* Legacy fallback - hidden */

/* Trustbar */
.trustbar {
  margin-top: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .022);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.trustbar__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-avatars {
  display: flex;
}

.trust-ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg2);
  margin-left: -10px;
  background: linear-gradient(135deg, rgba(var(--brand-rgb), .5), rgba(var(--brand2-rgb), .5));
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.trust-ava:first-child {
  margin-left: 0;
}

.trust-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 12px;
}

.trust-score {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-score__num {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
}

.trust-score__stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2px;
}

/* ── FAQ ───────────────────────────────────────────── */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface, rgba(255, 255, 255, .025));
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(var(--brand-rgb), .3);
}

.faq-item[open] {
  border-color: rgba(var(--brand-rgb), .6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
  background: rgba(255, 255, 255, .04);
}

.faq-summary {
  padding: 24px;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  /* Hide default triangle */
}

.faq-summary::-webkit-details-marker {
  display: none;
  /* Safari */
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.faq-icon::before {
  width: 12px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 12px;
}

.faq-item[open] .faq-icon {
  background: var(--brand);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: #111;
}

.faq-item[open] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-content {
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-content p {
  margin: 0;
  font-size: 15px;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__info h2 {
  margin-bottom: 14px;
}

.contact__desc {
  color: var(--muted);
  margin-bottom: 30px;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .025);
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.contact-link:hover {
  border-color: rgba(var(--brand-rgb), .35);
  background: rgba(var(--brand-rgb), .06);
  transform: translateX(4px);
}

.contact-link__icon {
  font-size: 20px;
  flex-shrink: 0;
}

.contact-link__label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.contact-link__value {
  font-size: 14px;
  font-weight: 700;
}

.contact-platform-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* Contact form card */
.contact-form-card {
  border-radius: var(--radius2);
  padding: 36px;
  background:
    radial-gradient(500px 300px at 80% 20%, rgba(var(--brand-rgb), .10), transparent 60%),
    rgba(255, 255, 255, .03);
  border: 1px solid var(--border-hi);
  box-shadow: var(--shadow-xl);
}

/* ── Form ────────────────────────────────────────────────── */
.sp-form {
  display: grid;
  gap: 14px;
}

.sp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sp-field label {
  font-weight: 700;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.sp-field input,
.sp-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.sp-field textarea {
  min-height: 130px;
  resize: vertical;
}

.sp-field input:focus,
.sp-field textarea:focus {
  border-color: rgba(var(--brand-rgb), .55);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12);
}

.sp-field input::placeholder,
.sp-field textarea::placeholder {
  color: rgba(234, 240, 255, .3);
}

.sp-form__note {
  font-size: 12px;
  color: var(--muted);
}

.sp-form__status {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
}

.sp-form__status.is-ok {
  color: var(--success);
  background: rgba(45, 212, 191, .08);
}

.sp-form__status.is-err {
  color: var(--danger);
  background: rgba(255, 92, 122, .08);
}

/* ── Site Footer ─────────────────────────────────────────── */
.site-footer {
  padding: 80px 0 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.3;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer__brand-name {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}

.footer__tagline {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 30ch;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  transition: all var(--transition);
}

.footer__social-link:hover {
  border-color: var(--brand);
  background: rgba(var(--brand-rgb), .1);
  color: var(--brand);
  transform: translateY(-3px);
}

.footer__heading {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.menu--footer {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu--footer a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: all var(--transition);
  display: inline-block;
}

.menu--footer a:hover {
  color: var(--brand);
  transform: translateX(4px);
}

.footer__contact-text {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.footer__email {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color var(--transition);
}

.footer__email:hover {
  color: var(--brand);
}

.footer__avail-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand2);
  padding: 6px 12px;
  background: rgba(45, 212, 191, .08);
  border-radius: 30px;
  border: 1px solid rgba(45, 212, 191, .2);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--brand2);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand2);
  animation: pulse-dot 2s infinite;
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer__bottom p {
  font-size: 13px;
  color: var(--muted);
}

/* ── Grid Helpers ────────────────────────────────────────── */
.grid {
  display: grid;
  gap: 20px;
}

.grid--2 {
  grid-template-columns: 1fr 1fr;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--posts {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Cards (generic) ─────────────────────────────────────── */
.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .025);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--brand-rgb), .28);
  box-shadow: var(--shadow);
}

.card--soft {
  background: rgba(255, 255, 255, .018);
}

/* Content page */
.content {
  max-width: 900px;
}

.content__head {
  margin-bottom: 16px;
}

/* Pagination */
.pagination {
  margin-top: 32px;
}

.pagination .page-numbers {
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  margin-right: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: border-color var(--transition), background var(--transition);
}

.pagination .page-numbers:hover {
  border-color: var(--border-hi);
  background: rgba(255, 255, 255, .05);
}

.pagination .current {
  background: rgba(var(--brand-rgb), .18);
  border-color: rgba(var(--brand-rgb), .3);
  color: var(--brand);
}

/* ── Elementor Canvas ────────────────────────────────────── */
.site-content--canvas {
  padding: 0;
}

.is-canvas .site-content {
  min-height: 100vh;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 340px;
    gap: 32px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__widgets {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 60px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    display: none;
  }

  .hero__metrics-vertical {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid,
  .why-grid,
  .contact-grid,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .portfolio-grid,
  .grid--3,
  .grid--posts {
    grid-template-columns: 1fr;
  }

  .t-grid {
    grid-template-columns: 1fr;
  }

  .why-cards {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__widgets {
    grid-column: auto;
  }

  .menu--primary {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.is-open .menu--primary {
    display: flex;
    position: absolute;
    top: var(--header-h);
    right: 16px;
    left: 16px;
    flex-direction: column;
    padding: 24px;
    background: rgba(12, 18, 32, .98);
    border: 1px solid var(--border-hi);
    border-radius: var(--radius2);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xl);
    z-index: 99;
    animation: slide-down .4s var(--ease-out);
  }

  @keyframes slide-down {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .site-header.is-open .menu--primary li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .site-header.is-open .menu--primary li:last-child {
    border-bottom: none;
  }

  .site-header.is-open .menu--primary a {
    padding: 14px 0;
    font-size: 16px;
    width: 100%;
    display: block;
  }

  .trustbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .hero__metrics-vertical {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 72px 0 48px;
  }

  .section {
    padding: 72px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .card,
  .service-card,
  .t-item,
  .why-card,
  .contact-link,
  .portrait__rings,
  .portrait__dots,
  .reveal {
    transition: none;
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}