/* =============================================================
   Ramya — Digital Marketer | Premium portfolio stylesheet
   1. Tokens          6. Hero            11. Process
   2. Base & reset    7. About & stats   12. Tools
   3. Layout/utils    8. Skills           13. Why me
   4. Buttons/chips   9. Services        14. Testimonials
   5. Header & nav   10. Work grid       15. Contact / footer / FAB / modal
   ============================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Brand */
  --blue: #3d6dff;
  --blue-600: #2a53e0;
  --violet: #7c4dff;
  --violet-soft: #a78bfa;
  --cyan: #22d3ee;
  --mint: #2ee6a8;
  --amber: #ffb443;
  --grad: linear-gradient(115deg, #4f7cff 0%, #7c4dff 48%, #22d3ee 100%);
  --grad-soft: linear-gradient(115deg, rgba(79, 124, 255, .16), rgba(124, 77, 255, .16) 50%, rgba(34, 211, 238, .16));
  --grad-warm: linear-gradient(115deg, #7c4dff, #ff5cae);

  /* Ink / neutrals */
  --ink: #070b16;
  --ink-2: #0b1226;
  --ink-3: #101a38;
  --text: #0b1020;
  --text-2: #39415a;
  --muted: #5f6880;
  --muted-light: #a9b2cc;
  --line: rgba(11, 16, 32, .1);
  --line-strong: rgba(11, 16, 32, .16);
  --surface: #ffffff;
  --surface-2: #f5f7fc;
  --surface-3: #eef2fa;
  --glass-dark: rgba(255, 255, 255, .06);
  --glass-line: rgba(255, 255, 255, .14);

  /* Effects */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(9, 14, 30, .06);
  --shadow-sm: 0 6px 18px rgba(9, 14, 30, .07);
  --shadow-md: 0 18px 40px -18px rgba(9, 14, 30, .28);
  --shadow-lg: 0 34px 70px -28px rgba(9, 14, 30, .38);
  --shadow-glow: 0 20px 60px -22px rgba(79, 124, 255, .65);
  --ring: 0 0 0 3px rgba(61, 109, 255, .35);

  /* Type */
  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-hero: clamp(2.6rem, 7vw, 5rem);
  --fs-h2: clamp(1.9rem, 4vw, 3rem);
  --fs-h3: clamp(1.05rem, 1.4vw, 1.25rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.22, .72, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. BASE & RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  color: var(--text);
  font-weight: 800;
}

h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: .86em;
  background: var(--surface-3);
  padding: .1em .38em;
  border-radius: 6px;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. LAYOUT & UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--light { background: var(--surface); }
.section--alt {
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(79, 124, 255, .1), transparent 60%),
    radial-gradient(760px 460px at 92% 8%, rgba(124, 77, 255, .09), transparent 62%),
    var(--surface-2);
}

.section--dark {
  background:
    radial-gradient(900px 520px at 84% -6%, rgba(124, 77, 255, .3), transparent 60%),
    radial-gradient(760px 520px at 6% 12%, rgba(34, 211, 238, .16), transparent 62%),
    var(--ink);
  color: #e8ecfa;
  overflow: hidden;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #b9c2dd; }

.section__glow {
  position: absolute;
  inset: -30% -10% auto;
  height: 70%;
  background: radial-gradient(closest-side, rgba(79, 124, 255, .22), transparent);
  filter: blur(30px);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  padding: .42rem .9rem .42rem .55rem;
  border-radius: var(--r-pill);
  background: var(--grad-soft);
  border: 1px solid rgba(79, 124, 255, .22);
  color: var(--blue-600);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow .icon { width: 16px; height: 16px; }

.eyebrow--light {
  background: rgba(255, 255, 255, .08);
  border-color: var(--glass-line);
  color: #cfe0ff;
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.section-head .eyebrow { justify-content: center; }

.section-title {
  font-size: var(--fs-h2);
  margin-bottom: .7rem;
}
.section-title--light { color: #fff; }

.lead {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  color: var(--muted);
}
.lead--light { color: #c2cbe6; }

.section-note {
  margin-top: .9rem;
  font-size: .82rem;
  color: var(--muted);
  opacity: .85;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.glass-dark {
  background: linear-gradient(160deg, rgba(12, 18, 38, .92), rgba(7, 11, 22, .96));
  border: 1px solid rgba(255, 255, 255, .1);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 4. BUTTONS, CHIPS, TAGS ---------- */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--text);
  background: var(--btn-bg);
  border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--primary {
  color: #fff;
  background: var(--grad);
  background-size: 180% 100%;
  box-shadow: 0 14px 30px -14px rgba(79, 124, 255, .85);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, #22d3ee, #4f7cff 55%, #7c4dff);
  background-size: 180% 100%;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.btn--primary:hover::after { opacity: 1; }
.btn--primary:hover { box-shadow: 0 20px 40px -16px rgba(79, 124, 255, .95); }

.btn--glass {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }

.btn--outline {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface);
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue-600); box-shadow: var(--shadow-sm); }

.btn--ghost {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--line);
}
.btn--ghost:hover { color: #fff; background: var(--grad); border-color: transparent; }

.btn--lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn--sm { padding: .62rem 1.15rem; font-size: .86rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.chips li {
  padding: .32rem .7rem;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: .78rem;
  font-weight: 500;
}
.section--dark .chips li,
.section--contact .chips li {
  background: rgba(255, 255, 255, .07);
  border-color: var(--glass-line);
  color: #cfd7ee;
}

/* ---------- 5. HEADER & NAVIGATION ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  padding-block: 14px;
  transition: padding .35s var(--ease), background-color .35s var(--ease),
              box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding-block: 8px;
  background: rgba(7, 11, 22, .78);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: rgba(255, 255, 255, .1);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, .9);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 10px 22px -10px rgba(79, 124, 255, .9);
  position: relative;
  overflow: hidden;
}
.brand__mark::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  top: 6px; right: 6px;
  opacity: .9;
}
.brand__text { display: grid; line-height: 1.15; }
.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}
.brand__text small {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { display: flex; align-items: center; gap: .25rem; }

.nav__link {
  position: relative;
  display: block;
  padding: .62rem .85rem;
  border-radius: var(--r-pill);
  font-size: .92rem;
  font-weight: 600;
  color: #d5dbef;
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after { width: 22px; }

.nav-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--glass-line);
  color: #fff;
}
.nav-toggle__bars { display: grid; gap: 5px; }
.nav-toggle__bars i {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.nav-toggle .nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(4, 7, 15, .6);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(124, 77, 255, .8);
  transition: width .12s linear;
}

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(5rem, 8vw, 7rem);
  background:
    radial-gradient(1100px 700px at 78% 12%, rgba(124, 77, 255, .3), transparent 62%),
    radial-gradient(900px 620px at 8% 78%, rgba(34, 211, 238, .16), transparent 60%),
    linear-gradient(180deg, #05070f 0%, #080d1d 52%, #0a1026 100%);
  color: #e9edfb;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
}
.hero__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  animation: float 16s var(--ease) infinite;
}
.hero__aurora--1 {
  width: 46vw; height: 46vw; min-width: 320px; min-height: 320px;
  top: -8%; right: -6%;
  background: radial-gradient(circle, rgba(124, 77, 255, .75), transparent 68%);
}
.hero__aurora--2 {
  width: 38vw; height: 38vw; min-width: 280px; min-height: 280px;
  bottom: -14%; left: -8%;
  background: radial-gradient(circle, rgba(34, 211, 238, .5), transparent 68%);
  animation-delay: -5s;
}
.hero__aurora--3 {
  width: 30vw; height: 30vw; min-width: 240px; min-height: 240px;
  top: 42%; left: 42%;
  background: radial-gradient(circle, rgba(79, 124, 255, .5), transparent 70%);
  animation-delay: -9s;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(3%, -4%, 0) scale(1.06); }
  66% { transform: translate3d(-3%, 3%, 0) scale(.96); }
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 1rem .5rem .7rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--glass-line);
  font-size: .82rem;
  font-weight: 500;
  color: #d7ddf2;
  margin-bottom: 1.5rem;
}
.hero__pulse {
  position: relative;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(46, 230, 168, .7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(46, 230, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 230, 168, 0); }
}

.hero__title {
  font-size: var(--fs-hero);
  line-height: 1.02;
  margin-bottom: 1rem;
  color: #fff;
  letter-spacing: -.035em;
}

.hero__role {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(.98rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: #c9d2ee;
}
.hero__role i { color: var(--violet-soft); font-style: normal; }
.hero__role span:first-child { color: #fff; }

.hero__desc {
  max-width: 33rem;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: #b6bfdd;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 2.25rem;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  font-size: .88rem;
  color: #c3cbe6;
}
.hero__facts li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__facts .icon { width: 16px; height: 16px; color: var(--mint); }

/* Hero visual */
.hero__visual { display: grid; place-items: center; }
.hero__frame {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
}
.hero__card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08);
  background:
    radial-gradient(120% 90% at 70% 0%, rgba(124, 77, 255, .35), transparent 60%),
    linear-gradient(160deg, rgba(15, 22, 46, .9), rgba(7, 11, 22, .95));
  animation: float 9s var(--ease) infinite;
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; }

.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .22);
  pointer-events: none;
}
.hero__ring--1 { inset: -6%; animation: spin 44s linear infinite; }
.hero__ring--2 { inset: 4%; border-style: solid; border-color: rgba(124, 77, 255, .35); animation: spin 30s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .85rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: bob 6s var(--ease) infinite;
}
.hero__chip .icon { width: 16px; height: 16px; }
.hero__chip--1 { top: 6%; left: -6%; }
.hero__chip--2 { top: 34%; right: -8%; animation-delay: -1.4s; }
.hero__chip--3 { bottom: 22%; left: -9%; animation-delay: -2.8s; }
.hero__chip--4 { bottom: 5%; right: -4%; animation-delay: -4.2s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Marquee */
.hero__marquee {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-block: 1.1rem;
  border-block: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding-right: 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #97a2c8;
  white-space: nowrap;
}
.marquee__group span:nth-child(even) { color: var(--violet-soft); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 7. ABOUT & STATS ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.about__media { position: relative; }
.about__card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__overlay {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(to top, rgba(5, 7, 15, .95), rgba(5, 7, 15, .1));
}
.about__quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(.95rem, 1.3vw, 1.08rem);
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
}
.about__badge {
  position: absolute;
  right: -10px;
  bottom: 12%;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .85rem 1.1rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.about__badge .icon { width: 22px; height: 22px; color: var(--cyan); }
.about__badge strong { display: block; font-family: var(--font-display); font-size: .92rem; }
.about__badge span { font-size: .78rem; color: #a9b2cc; }

.about__content .lead strong { color: var(--text); }
.about__content > p { color: var(--muted); }

.about__list {
  display: grid;
  gap: .75rem;
  margin: 1.75rem 0 2.25rem;
}
.about__list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .96rem;
  font-weight: 500;
  color: var(--text-2);
}
.about__tick {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  flex: none;
  border-radius: 50%;
  background: rgba(46, 230, 168, .14);
  color: #12a97a;
  margin-top: 1px;
}
.about__tick .icon { width: 14px; height: 14px; stroke-width: 2.6; }

.about__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.stat {
  position: relative;
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.stat:hover::before { transform: scaleX(1); }
.stat__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: .9rem;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(79, 124, 255, .2);
  color: var(--blue-600);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { display: block; margin-top: .4rem; font-size: .88rem; color: var(--muted); }

.stats__note { margin-top: 1rem; font-size: .78rem; color: var(--muted); opacity: .8; text-align: center; }

/* ---------- 8. SKILLS ---------- */
.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.1rem;
}
.skill__btn {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "ring body" "tags tags";
  gap: .4rem 1.1rem;
  width: 100%;
  height: 100%;
  padding: 1.4rem;
  text-align: left;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.skill__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.skill__btn:hover,
.skill__btn:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(79, 124, 255, .35);
  box-shadow: var(--shadow-md);
}
.skill__btn:hover::before,
.skill__btn:focus-visible::before { opacity: 1; }

.skill__ring {
  position: relative;
  grid-area: ring;
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  margin-bottom: .3rem;
}
.skill__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.skill__track { fill: none; stroke: var(--surface-3); stroke-width: 6; }
.skill__bar {
  fill: none;
  stroke: var(--blue);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 201.06;
  stroke-dashoffset: 201.06;
  transition: stroke-dashoffset 1.4s var(--ease-out);
}
.skills.is-in .skill__bar { stroke-dashoffset: var(--dash, 201.06); }
.skill__pct {
  position: absolute;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 800;
  font-style: normal;
  color: var(--text);
}
.skill__btn:hover .skill__pct { color: var(--blue-600); }

.skill__body { grid-area: body; }
.skill__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}
.skill__desc {
  display: block;
  margin-top: .3rem;
  font-size: .89rem;
  line-height: 1.6;
  color: var(--muted);
}
.skill__tags {
  grid-area: tags;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .9rem;
}
.skill__tags i {
  padding: .25rem .6rem;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: .72rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text-2);
}

/* ---------- 9. SERVICES ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  overflow: hidden;
}
.service::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 77, 255, .5), transparent 70%);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.service:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 77, 255, .5);
  box-shadow: 0 30px 60px -30px rgba(124, 77, 255, .7);
}
.service:hover::after { opacity: 1; }

.service__flag {
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  background: var(--grad);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.service__icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 1.1rem;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid rgba(124, 77, 255, .35);
  color: #c4b5fd;
  transition: transform .4s var(--ease), color .35s var(--ease);
}
.service__icon .icon { width: 24px; height: 24px; }
.service:hover .service__icon { transform: translateY(-2px) scale(1.06); color: #fff; }
.service h3 { margin-bottom: .55rem; }
.service p { font-size: .92rem; color: #b3bcd8; }

.service__points { display: grid; gap: .4rem; margin: 1rem 0 1.4rem; }
.service__points li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: #c8d0e8;
}
.service__points .icon { width: 15px; height: 15px; color: var(--mint); }

.service__link {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
}
.service__link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.service__link:hover .icon { transform: translateX(5px); }

.service--feature {
  background: linear-gradient(165deg, rgba(124, 77, 255, .22), rgba(34, 211, 238, .1));
  border-color: rgba(124, 77, 255, .45);
}

/* ---------- 10. WORK / PORTFOLIO ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filter {
  padding: .65rem 1.05rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: .86rem;
  font-weight: 700;
  color: var(--text-2);
  transition: color .28s var(--ease), background-color .28s var(--ease),
              border-color .28s var(--ease), transform .28s var(--ease), box-shadow .28s var(--ease);
}
.filter:hover { transform: translateY(-2px); border-color: rgba(79, 124, 255, .5); color: var(--blue-600); }
.filter.is-active {
  color: #fff;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 12px 26px -14px rgba(79, 124, 255, .9);
}
.filter__count {
  margin-left: .35rem;
  font-size: .74rem;
  opacity: .75;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.work { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.work.is-hidden { display: none; }

.work__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.work__card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 124, 255, .35);
  box-shadow: var(--shadow-lg);
}
.work__media {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}
.work__media img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.work__card:hover .work__media img { transform: scale(1.06); }
.work__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 15, .55), transparent 55%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.work__card:hover .work__media::after { opacity: 1; }

.work__cat {
  position: absolute;
  top: .9rem; left: .9rem;
  z-index: 2;
  padding: .35rem .8rem;
  border-radius: var(--r-pill);
  background: rgba(7, 11, 22, .68);
  border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.work__body {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  flex: 1;
  padding: 1.25rem 1.35rem 1.4rem;
}
.work__body h3 { margin: 0; }
.work__body p { margin: 0; font-size: .89rem; color: var(--muted); }
.work__btn { margin-top: auto; align-self: flex-start; }
.work__empty { text-align: center; color: var(--muted); padding: 2rem 0; }

/* ---------- 11. PROCESS ---------- */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.4rem;
  counter-reset: step;
}
.process::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, rgba(79, 124, 255, .15), rgba(124, 77, 255, .8), rgba(34, 211, 238, .5));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease-out);
}
.process.is-in::before { transform: scaleX(1); }

.process__step {
  position: relative;
  padding-top: 74px;
  text-align: center;
}
.process__num {
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  background: linear-gradient(180deg, rgba(11, 16, 32, .1), rgba(11, 16, 32, 0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
}
.process__icon {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid rgba(79, 124, 255, .3);
  box-shadow: 0 14px 30px -16px rgba(79, 124, 255, .8);
  color: var(--blue-600);
  transition: transform .35s var(--ease), color .35s var(--ease);
}
.process__icon .icon { width: 24px; height: 24px; }
.process__step:hover .process__icon {
  transform: translateX(-50%) translateY(-4px) scale(1.06);
  color: #fff;
  background: var(--grad);
  border-color: transparent;
}
.process__step h3 { margin-bottom: .4rem; }
.process__step p { font-size: .89rem; color: var(--muted); }

/* ---------- 12. TOOLS ---------- */
.tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .9rem;
}
.tool {
  display: grid;
  justify-items: center;
  gap: .7rem;
  padding: 1.4rem 1rem;
  text-align: center;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--glass-line);
  transition: transform .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease);
}
.tool:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .09);
  border-color: color-mix(in srgb, var(--t) 55%, transparent);
}
.tool__badge {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .08);
  background: color-mix(in srgb, var(--t) 18%, rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .16);
  border: 1px solid color-mix(in srgb, var(--t) 45%, transparent);
  color: var(--t);
  transition: transform .35s var(--ease);
}
.tool:hover .tool__badge { transform: scale(1.08) rotate(-4deg); }
.tool__badge .icon { width: 24px; height: 24px; }
.tool__name {
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
}
.tool__sub { font-size: .72rem; color: #97a2c8; }

/* ---------- 13. WHY WORK WITH ME ---------- */
.why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.why__card {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.why__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.why__card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 124, 255, .3);
}
.why__card:hover::before { transform: scaleX(1); }
.why__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 1rem;
  border-radius: 15px;
  background: var(--grad-soft);
  border: 1px solid rgba(79, 124, 255, .22);
  color: var(--blue-600);
  transition: transform .4s var(--ease);
}
.why__icon .icon { width: 24px; height: 24px; }
.why__card:hover .why__icon { transform: translateY(-3px) scale(1.06); }
.why__card p { font-size: .92rem; color: var(--muted); }

/* ---------- 14. TESTIMONIALS ---------- */
.slider { max-width: 860px; margin-inline: auto; }
.slider__viewport { overflow: hidden; border-radius: var(--r-xl); }
.slider__track {
  display: flex;
  transition: transform .7s var(--ease-out);
}
.slide { min-width: 100%; padding: 4px; }

.quote {
  position: relative;
  height: 100%;
  margin: 0;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.quote::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--grad);
}
.quote__mark {
  position: absolute;
  top: 1.4rem; right: 1.6rem;
  width: 74px; height: 74px;
  color: rgba(79, 124, 255, .14);
  stroke: none;
}
.quote p {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -.01em;
  color: var(--text);
  margin-bottom: 1.8rem;
}
.quote__by {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding-top: 1.3rem;
  border-top: 1px dashed var(--line-strong);
}
.quote__avatar {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
}
.quote__by strong { display: block; font-family: var(--font-display); font-size: .98rem; }
.quote__by small { color: var(--muted); font-size: .82rem; }
.quote__stars {
  display: inline-flex;
  gap: .1rem;
  margin-left: auto;
  color: var(--amber);
}
.quote__stars .icon { width: 17px; height: 17px; fill: currentColor; stroke: none; }

.slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.6rem;
}
.slider__btn {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.slider__btn:hover {
  color: #fff;
  background: var(--grad);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.slider__dots { display: flex; gap: .45rem; }
.slider__dot {
  width: 9px; height: 9px;
  border-radius: var(--r-pill);
  background: var(--line-strong);
  transition: width .35s var(--ease), background-color .35s var(--ease);
}
.slider__dot.is-active { width: 26px; background: var(--grad); }

/* ---------- 15. CONTACT ---------- */
.section--contact {
  position: relative;
  background:
    radial-gradient(1000px 600px at 88% 0%, rgba(124, 77, 255, .32), transparent 62%),
    radial-gradient(800px 600px at 4% 100%, rgba(34, 211, 238, .18), transparent 60%),
    linear-gradient(180deg, #080d1d, #05070f);
  color: #e8ecfa;
  overflow: hidden;
}
.contact {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}
.section--contact .section-title { color: #fff; }
.section--contact .lead { color: #c2cbe6; }

.contact__details { display: grid; gap: .9rem; margin: 2rem 0; }
.contact__details li {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .9rem 1.1rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--glass-line);
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.contact__details li:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, .09);
  border-color: rgba(124, 77, 255, .5);
}
.contact__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(124, 77, 255, .35);
  color: #c4b5fd;
}
.contact__icon .icon { width: 21px; height: 21px; }
.contact__details small {
  display: block;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #97a2c8;
}
.contact__details a,
.contact__details strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.contact__details a:hover { color: var(--cyan); }

.contact__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.contact__badges span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--glass-line);
  font-size: .82rem;
  color: #cfd7ee;
}
.contact__badges .icon { width: 15px; height: 15px; color: var(--mint); }

.contact__form-wrap {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #dbe2f7;
}
.field label span { color: #ff8f8f; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--glass-line);
  color: #fff;
  font-size: .94rem;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #a9b2cc 50%), linear-gradient(135deg, #a9b2cc 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.6rem;
}
.field select option { background: #101a38; color: #fff; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(169, 178, 204, .65); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(124, 77, 255, .8);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 4px rgba(124, 77, 255, .22);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #ff7a7a; box-shadow: 0 0 0 4px rgba(255, 122, 122, .16); }
.field__error {
  min-height: 0;
  font-size: .78rem;
  color: #ff9d9d;
}
.field__error:empty { display: none; }

.form__submit { width: 100%; margin-top: .3rem; }
.form__status {
  margin: 0;
  padding: .8rem 1rem;
  border-radius: var(--r-sm);
  font-size: .88rem;
  background: rgba(46, 230, 168, .12);
  border: 1px solid rgba(46, 230, 168, .4);
  color: #9df5d4;
}
.form__status:empty { display: none; }
.form__status.is-error { background: rgba(255, 122, 122, .12); border-color: rgba(255, 122, 122, .4); color: #ffb3b3; }
.form__note { margin: 0; font-size: .8rem; color: #97a2c8; text-align: center; }

/* ---------- 15b. FOOTER ---------- */
.site-footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: #05070f;
  color: #97a2c8;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer__brand p { margin-top: 1rem; font-size: .88rem; max-width: 34ch; }
.footer__title {
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer__nav ul,
.footer__contact ul { display: grid; gap: .6rem; }
.footer__nav a,
.footer__contact a { font-size: .92rem; transition: color .25s var(--ease), padding-left .25s var(--ease); }
.footer__nav a:hover,
.footer__contact a:hover { color: #fff; padding-left: 5px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: .84rem;
}
.footer__bottom p { margin: 0; }

/* ---------- 15c. FLOATING ACTIONS ---------- */
.fab {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 130;
  display: grid;
  justify-items: center;
  gap: .6rem;
}
.fab__top,
.fab__wa {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease), opacity .3s var(--ease), box-shadow .3s var(--ease);
}
.fab__top {
  order: -1;
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.9);
}
.fab__top .icon { width: 22px; height: 22px; }
.fab__top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

.fab__wa {
  position: relative;
  background: linear-gradient(140deg, #25d366, #128c7e);
  color: #fff;
}
.fab__wa .icon { width: 28px; height: 28px; }
.fab__wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .6);
  animation: ripple 2.4s var(--ease) infinite;
}
@keyframes ripple {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.55); opacity: 0; }
}
.fab__wa:hover { transform: scale(1.07); box-shadow: 0 18px 34px -14px rgba(37, 211, 102, .9); }
.fab__label {
  position: absolute;
  right: calc(100% + 12px);
  padding: .5rem .85rem;
  border-radius: var(--r-pill);
  background: rgba(7, 11, 22, .92);
  border: 1px solid var(--glass-line);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.fab__wa:hover .fab__label,
.fab__wa:focus-visible .fab__label { opacity: 1; transform: none; }

/* ---------- 15d. MODAL ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 12, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: fade .3s var(--ease);
}
.modal__dialog {
  position: relative;
  width: min(100%, 920px);
  max-height: 88vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: pop .4s var(--ease-out);
  overscroll-behavior: contain;
}
.modal__img { width: 100%; height: 100%; object-fit: cover; background: var(--ink-2); }
.modal__body {
  display: grid;
  gap: .9rem;
  align-content: start;
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.modal__cat { position: static; align-self: start; background: var(--grad); border: 0; }
.modal__body h3 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.modal__body p { color: var(--muted); font-size: .95rem; }
.modal__meta { display: grid; gap: .8rem; }
.modal__meta small {
  display: block;
  margin-bottom: .4rem;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.modal__disclaimer {
  padding: .7rem .9rem;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px dashed var(--line-strong);
  font-size: .78rem;
}
.modal__close {
  position: absolute;
  top: .85rem; right: .85rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(7, 11, 22, .72);
  border: 1px solid var(--glass-line);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.modal__close:hover { background: var(--grad); transform: rotate(90deg); }

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__desc { margin-inline: auto; }
  .hero__actions, .hero__facts, .hero__role { justify-content: center; }
  .hero__visual { order: -1; }
  .hero__frame { width: min(100%, 340px); }
  .hero__chip--1 { left: -2%; }
  .hero__chip--3 { left: -3%; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; }
  .process::before { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(84vw, 340px);
    z-index: 130;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1.25rem;
    padding: calc(var(--header-h) + 1.5rem) 1.75rem 2rem;
    background: linear-gradient(180deg, #0a1128, #05070f);
    border-left: 1px solid var(--glass-line);
    box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .9);
    transform: translateX(105%);
    transition: transform .45s var(--ease-out);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav__link {
    padding: .9rem .8rem;
    border-radius: var(--r-sm);
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .nav__link::after { display: none; }
  .nav__link.is-active { background: rgba(124, 77, 255, .2); color: #fff; }
  .nav__cta { width: 100%; }

  .nav-toggle { display: grid; z-index: 140; }
  .site-header:has(.nav.is-open) { background: transparent; border-bottom-color: transparent; box-shadow: none; }

  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; margin-inline: auto; width: 100%; }
  .about__badge { right: -6px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; }
  .modal__dialog { grid-template-columns: 1fr; }
  .modal__img { aspect-ratio: 10 / 7; }
}

@media (max-width: 720px) {
  .services, .work-grid, .why { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; row-gap: 0; text-align: left; }
.process__step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "icon head" "icon text";
  gap: .2rem 1rem;
  padding: 0 0 2rem 0;
  text-align: left;
}
.process__num { display: none; }
.process__icon { position: static; grid-area: icon; transform: none; width: 52px; height: 52px; }
  .process__step:hover .process__icon { transform: scale(1.06); }
  .process__step h3 { grid-area: head; margin: 0; }
  .process__step p { grid-area: text; margin-top: .3rem; }
  .process__step::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 62px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, rgba(124, 77, 255, .7), rgba(34, 211, 238, .25));
  }
  .process__step:last-child::before { display: none; }

  .skills { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .quote__by { flex-wrap: wrap; }
  .quote__stars { margin-left: 0; width: 100%; }
  .hero__chip--2, .hero__chip--4 { display: none; }
  .fab__label { display: none; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- MOTION / PRINT PREFERENCES ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .fab, .hero__marquee, .modal, .nav-backdrop, .filters { display: none !important; }
  body { color: #000; background: #fff; }
  .section, .hero { background: #fff !important; color: #000 !important; min-height: 0; padding-block: 2rem; }
  .section--dark h2, .section--dark h3, .section--dark p, .hero__title, .hero__desc { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}