/* =========================================================
   Elementum — Digital Agency
   University Project
   ========================================================= */

/* ---------- Theme Tokens ---------- */
:root {
  --bg: #0b0b0d;
  --bg-2: #111114;
  --surface: #16161a;
  --surface-2: #1d1d22;
  --line: #2a2a31;
  --text: #ececf1;
  --text-dim: #a4a4ad;
  --muted: #6f6f78;
  --accent: #c6ff3d;
  --accent-2: #ff6a3d;
  --accent-soft: rgba(198, 255, 61, 0.12);
  --danger: #ff5566;
  --success: #4ade80;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.25);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--accent);
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

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

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: #0a0a0a;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

p {
  margin: 0 0 1em;
  color: var(--text-dim);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.text-accent {
  color: var(--accent);
}

.text-outline {
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.section-head .lead {
  max-width: 460px;
  color: var(--text-dim);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px;
  --pad-x: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}

.btn-primary:hover {
  background: var(--text);
  color: #0a0a0a;
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text);
  position: relative;
}

.btn-arrow .arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #0a0a0a;
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease);
}

.btn-arrow:hover .arrow {
  transform: rotate(-45deg);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease);
}

.site-header.scrolled {
  background: rgba(11, 11, 13, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}

.nav-list {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-list a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  position: relative;
  transition: background 0.2s;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease);
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 180px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: 30px;
}

.hero h1 .word {
  display: inline-block;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.hero-meta p {
  max-width: 400px;
  margin: 0;
}

.hero-stats {
  display: flex;
  gap: 50px;
  margin-left: auto;
}

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--text);
  display: block;
}

.stat .label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--text-dim);
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 60px;
}

.marquee-track .star {
  color: var(--accent);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Services ---------- */
.services {
  background: var(--bg);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--bg);
  padding: 40px 36px;
  position: relative;
  transition: background 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 320px;
}

.service-card:hover {
  background: var(--surface);
}

.service-card .num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin: 0;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
}

.service-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease);
}

.service-card:hover .icon {
  transform: rotate(-8deg) scale(1.05);
}

.service-card .more {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.service-card:hover .more {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Work / Portfolio ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--surface);
  cursor: pointer;
  isolation: isolate;
}

.work-card.span-7 { grid-column: span 7; }
.work-card.span-5 { grid-column: span 5; }
.work-card.span-6 { grid-column: span 6; }
.work-card.span-12 { grid-column: span 12; aspect-ratio: 21 / 9; }

.work-thumb {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a22, #2a2a35);
  transition: transform 0.8s var(--ease);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--surface-2);
  font-weight: 600;
}

.work-card:hover .work-thumb {
  transform: scale(1.06);
}

.work-card[data-color="lime"] .work-thumb { background: linear-gradient(135deg, #1a2010, #2a3618); color: #c6ff3d22; }
.work-card[data-color="orange"] .work-thumb { background: linear-gradient(135deg, #2a1810, #3d2418); color: #ff6a3d22; }
.work-card[data-color="violet"] .work-thumb { background: linear-gradient(135deg, #1a142a, #2a1f3d); color: #a288ff22; }
.work-card[data-color="cyan"] .work-thumb { background: linear-gradient(135deg, #0e1f2a, #16303d); color: #4ed3ff22; }
.work-card[data-color="rose"] .work-thumb { background: linear-gradient(135deg, #2a1018, #3d1822); color: #ff5e8a22; }

.work-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.work-card:hover .work-overlay {
  opacity: 1;
}

.work-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.work-tags span {
  font-size: 0.75rem;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.work-overlay h3 {
  margin: 0;
  color: #fff;
}

.work-meta {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.work-meta .badge {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text);
}

/* Filter chips */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-chip {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  transition: all 0.25s var(--ease);
  font-size: 0.9rem;
}

.filter-chip:hover { color: var(--text); border-color: var(--text-dim); }
.filter-chip.active {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}

.work-card.hidden { display: none; }

/* ---------- Process ---------- */
.process-list {
  display: grid;
  gap: 0;
}

.process-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 30px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background 0.4s var(--ease), padding-inline 0.4s var(--ease);
}

.process-row:last-child { border-bottom: 1px solid var(--line); }

.process-row:hover {
  background: var(--surface);
  padding-inline: 24px;
  border-radius: 0;
}

.process-row .num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
}

.process-row h3 { margin: 0; }
.process-row p { margin: 0; max-width: 50ch; }

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--bg-2);
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 50px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.testimonial-card .quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 30px;
  font-weight: 400;
}

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

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: #0a0a0a;
  font-size: 1.1rem;
}

.author-info .name { font-weight: 500; color: var(--text); }
.author-info .role { color: var(--muted); font-size: 0.9rem; }

.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

.slider-arrows {
  display: flex;
  gap: 12px;
}

.slider-arrows button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}

.slider-arrows button:hover {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 28px;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  transition: all 0.3s var(--ease);
}

.slider-dots button.active {
  background: var(--accent);
  width: 44px;
}

/* ---------- CTA ---------- */
.cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(50px, 8vw, 90px) clamp(30px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  filter: blur(20px);
}

.cta h2 { margin: 0 0 22px; max-width: 18ch; margin-inline: auto; position: relative; }
.cta p { max-width: 55ch; margin-inline: auto; position: relative; }
.cta .btn { margin-top: 22px; position: relative; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  color: var(--text-dim);
  transition: color 0.25s var(--ease), padding 0.25s var(--ease);
  display: inline-block;
}

.footer-col ul a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-brand p {
  max-width: 38ch;
  margin: 16px 0 24px;
}

.footer-newsletter {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
  max-width: 360px;
}

.footer-newsletter input {
  flex: 1;
  padding: 14px 22px;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 0.9rem;
}

.footer-newsletter button {
  padding: 14px 22px;
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.25s var(--ease);
}

.footer-newsletter button:hover { background: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 20px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}

.socials a:hover {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* ---------- Page Title (sub-pages) ---------- */
.page-title {
  padding: 180px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 60%);
  filter: blur(50px);
  z-index: 0;
}

.page-title-inner { position: relative; z-index: 1; }
.page-title h1 { margin-bottom: 16px; }
.page-title p { max-width: 55ch; margin: 0 auto; }

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.breadcrumbs span { color: var(--text); }

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1a1a22, #2a2a35);
  position: relative;
  overflow: hidden;
}

.about-image::after {
  content: 'EL';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 12rem;
  font-weight: 600;
  color: var(--surface-2);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.value-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
}

.value-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value-card p { font-size: 0.95rem; margin: 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.team-card { text-align: left; }
.team-photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--muted);
  font-weight: 600;
  transition: transform 0.5s var(--ease);
}
.team-card:hover .team-photo { transform: scale(1.02); }
.team-card .name { font-weight: 500; }
.team-card .role { color: var(--muted); font-size: 0.9rem; }

/* ---------- Services page ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 50px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.service-detail:last-child { border-bottom: 1px solid var(--line); }

.service-detail .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 500;
}

.service-detail h3 { margin-bottom: 16px; }
.service-detail .features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.service-detail .features li {
  padding-left: 24px;
  position: relative;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.service-detail .features li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 14px; height: 1.5px;
  background: var(--accent);
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: transform 0.4s var(--ease);
}

.price-card:hover { transform: translateY(-4px); }

.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}

.price-card .badge-pop {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: #0a0a0a;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-card .name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.price-card .price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  margin: 16px 0 4px;
  color: var(--text);
}

.price-card .price small {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
}

.price-card ul {
  margin-top: 24px;
  margin-bottom: 30px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.price-card ul li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.price-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
}

.price-card .btn { width: 100%; justify-content: center; }

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

.contact-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: sticky;
  top: 100px;
}

.contact-info h3 { margin-bottom: 20px; }

.contact-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-row:first-of-type { border-top: 0; }

.contact-row .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}

.contact-row .label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-row .value { color: var(--text); font-weight: 500; }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.form-field label .req { color: var(--accent); }

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  font-size: 0.95rem;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--accent);
  background: var(--bg);
}

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

.form-field .err {
  display: none;
  color: var(--danger);
  font-size: 0.82rem;
  margin-top: 6px;
}

.form-field.invalid input,
.form-field.invalid textarea,
.form-field.invalid select {
  border-color: var(--danger);
}

.form-field.invalid .err { display: block; }

.budget-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.budget-options label {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 0.9rem;
  margin: 0;
  transition: all 0.25s var(--ease);
  user-select: none;
}

.budget-options input { display: none; }
.budget-options input:checked + label,
.budget-options label:hover {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}

.form-success,
.form-error {
  display: none;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  align-items: center;
  gap: 10px;
}

.form-success.show,
.form-error.show { display: flex; }

.form-success {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
}

.form-error {
  background: rgba(255, 85, 102, 0.1);
  border: 1px solid var(--danger);
  color: var(--danger);
}

.form .btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
}

.form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}

.faq-q:hover { color: var(--accent); }

.faq-q .plus {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item.open .faq-q .plus {
  background: var(--accent);
  color: #0a0a0a;
  transform: rotate(45deg);
  border-color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq-a-inner {
  padding: 16px 0 6px;
  color: var(--text-dim);
  max-width: 80ch;
}

.faq-item.open .faq-a {
  max-height: 320px;
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.56s; }

/* ---------- Cursor Follower ---------- */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease-soft), opacity 0.3s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease), width 0.25s, height 0.25s, border-color 0.25s;
  opacity: 0.6;
}

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1000;
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.loader.gone {
  opacity: 0;
  visibility: hidden;
}

.loader-text {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
  padding-bottom: 12px;
}

.loader-text::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  animation: loader-bar 1.4s var(--ease) forwards;
}

@keyframes loader-bar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .service-detail { grid-template-columns: 1fr; gap: 16px; }
  .work-card.span-7,
  .work-card.span-5,
  .work-card.span-6,
  .work-card.span-12 { grid-column: span 12; }
}

@media (max-width: 720px) {
  .nav-list,
  .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }

  .nav-list.mobile-open {
    display: flex;
    position: fixed;
    inset: 70px 16px auto 16px;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow);
  }

  .nav-list.mobile-open a {
    width: 100%;
    padding: 14px 16px;
  }

  .hero { padding-top: 130px; }
  .hero-meta { flex-direction: column; align-items: flex-start; }
  .hero-stats { margin-left: 0; gap: 30px; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .process-row { grid-template-columns: 60px 1fr; }
  .process-row p { grid-column: 2; }
}
