*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0D0D0F;
  --surface: #18181B;
  --neon-pink: #FF00FF;
  --neon-blue: #0088FF;
  --text: #F2F2F5;
  --text-muted: #6B7094;
  --border: #27272A;

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --space-section: 8rem;
  --container: 72rem;
  --container-padding: 1.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Background layer */

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
  animation: orbFloat 30s ease-in-out infinite;
}

.orb--1 {
  width: 55rem;
  height: 55rem;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.12), transparent 70%);
  top: -15%;
  left: -10%;
  animation-delay: 0s;
}

.orb--2 {
  width: 45rem;
  height: 45rem;
  background: radial-gradient(circle, rgba(0, 136, 255, 0.1), transparent 70%);
  bottom: 10%;
  right: -8%;
  animation-delay: -10s;
}

.orb--3 {
  width: 35rem;
  height: 35rem;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.06), transparent 70%);
  top: 45%;
  left: 55%;
  animation-delay: -20s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(4%, 2%) scale(1.04); }
  50% { transform: translate(-2%, 5%) scale(0.96); }
  75% { transform: translate(3%, -3%) scale(1.02); }
}

/* Nav */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(13, 13, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-dot {
  color: var(--neon-pink);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--neon-blue);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger toggle */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 0;
  padding: 3rem 0 6rem;
}

.hero-content {
  text-align: center;
  z-index: 1;
  padding: 0 var(--container-padding);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 4.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.3em;
  color: var(--text);
  text-shadow: 0 0 7px rgba(255, 0, 255, 0.3), 0 0 20px rgba(255, 0, 255, 0.1);
}

.hero-title .char {
  display: inline-block;
}

.hero-title .char-dot {
  color: var(--neon-pink);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.875rem, 2.5vw, 1.5rem);
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  color: var(--text-muted);
  font-weight: 300;
  padding-inline: 8rem;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
  opacity: 0.4;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Character animations */

@keyframes charReveal {
  from {
    opacity: 0;
    transform: translateY(0.5em) rotate(-3deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes neonFlicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
    text-shadow: 0 0 4px rgba(255, 0, 255, 0.4), 0 0 12px rgba(255, 0, 255, 0.2);
  }
  20%, 24%, 55% {
    opacity: 0.7;
    text-shadow: 0 0 2px rgba(255, 0, 255, 0.2);
  }
}

/* Sections */

.section {
  padding: var(--space-section) 0;
  scroll-margin-top: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  color: var(--text);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--neon-pink);
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(255, 0, 255, 0.5), 0 0 12px rgba(255, 0, 255, 0.2);
}

.section-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: -2.5rem;
  margin-bottom: 3rem;
}

/* Hero CTA */

.hero-cta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* About text with multiple paragraphs */

.about-text p + p {
  margin-top: 1em;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: start;
}

.about-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 36rem;
}

.about-stat {
  text-align: right;
  padding-top: 0.25rem;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4rem;
  color: var(--neon-pink);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Process - Timeline */

.process-timeline {
  position: relative;
  max-width: 58rem;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-step {
  position: relative;
  width: 50%;
  padding-bottom: 3.5rem;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step:nth-child(odd) {
  left: 0;
  padding-right: 3rem;
  text-align: right;
}

.timeline-step:nth-child(even) {
  left: 50%;
  padding-left: 3rem;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--neon-pink);
  box-shadow: 0 0 6px rgba(255, 0, 255, 0.4), 0 0 12px rgba(255, 0, 255, 0.15);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.timeline-step:nth-child(odd) .timeline-dot {
  right: -7px;
}

.timeline-step:nth-child(even) .timeline-dot {
  left: -7px;
}

.timeline-step:hover .timeline-dot {
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.6), 0 0 20px rgba(255, 0, 255, 0.3);
  transform: scale(1.2);
}

.timeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step:hover .timeline-content {
  transform: translateY(-2px);
  border-color: var(--neon-blue);
  box-shadow: 0 0 12px rgba(0, 136, 255, 0.1);
}

.step-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--neon-pink);
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 22rem;
}

.timeline-step:nth-child(odd) .step-desc {
  margin-left: auto;
}

/* Projects */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.project-card::after {
  content: '→';
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--neon-blue);
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
  line-height: 1;
}

.project-card:hover::after {
  transform: translateX(6px);
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 136, 255, 0.12), 0 0 30px rgba(0, 136, 255, 0.04);
}

.card-img {
  width: calc(100% + 4rem);
  height: 200px;
  object-fit: cover;
  object-position: top;
  display: block;
  background: var(--border);
  margin: -2rem -2rem 1.5rem;
  border-radius: 1rem 1rem 0 0;
  border-bottom: 1px solid var(--border);
}

.card-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neon-blue);
  margin-bottom: 1rem;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card-tags span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* Skills */

.skills-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.skill-card svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.skill-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text);
  text-align: center;
}

.skill-card:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 12px rgba(0, 136, 255, 0.12);
  transform: translateY(-4px);
}

.skill-card:hover svg {
  color: var(--neon-blue);
}

/* Service Catalog (Accordion) */

.service-catalog {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-category:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 12px rgba(0, 136, 255, 0.08);
}

.service-category.active {
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 136, 255, 0.12);
}

.service-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  text-align: left;
  font-family: inherit;
  font-size: inherit;
}

.service-category-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--neon-blue);
  transition: color 0.3s ease;
}

.service-category.active .service-category-icon {
  color: var(--neon-pink);
}

.service-category-info {
  flex: 1;
  min-width: 0;
}

.service-category-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.service-category-summary {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 400;
}

.service-category-arrow {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-category.active .service-category-arrow {
  transform: rotate(180deg);
  color: var(--neon-pink);
}

.service-category-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}

.service-category.active .service-category-body {
  max-height: 62rem;
  padding: 0 1.5rem 1.25rem;
}

.service-sub-item {
  padding: 0.875rem 0;
  border-top: 1px solid var(--border);
}

.service-sub-item:first-child {
  border-top: none;
}

.sub-item-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.sub-item-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Skills group label */

.skills-group-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  opacity: 0.6;
}

/* Section CTAs */

.section-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.section-cta p {
  font-size: 1.125rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: #fff;
  border-radius: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.cta-btn svg,
.cta-btn img {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

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

.cta-btn-instagram {
  background: linear-gradient(135deg, #405DE6, #E4405F, #FD1D1D);
}

.cta-btn-instagram:hover {
  box-shadow: 0 0 20px rgba(228, 64, 95, 0.4);
}

.cta-btn-whatsapp {
  background: #25D366;
}

.cta-btn-whatsapp:hover {
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

/* Floating buttons */

.float-btns {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
}

.float-btns.visible .float-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.float-btn {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 2rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
}

.float-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.float-btn-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.3s ease, padding 0.3s ease;
}

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

.float-btn:hover .float-btn-text {
  max-width: 10rem;
  padding-left: 0.25rem;
}

.float-btn--instagram {
  bottom: 0;
  background: linear-gradient(135deg, #405DE6, #E4405F, #FD1D1D);
}

.float-btn--instagram:hover {
  box-shadow: 0 6px 30px rgba(228, 64, 95, 0.4);
}

.float-btn--whatsapp {
  bottom: 3.75rem;
  background: #25D366;
}

.float-btn--whatsapp:hover {
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
}

.float-btns .lang-floating {
  position: absolute;
  bottom: 7.5rem;
  right: 0;
}

/* Testimonials */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Contact */

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-email {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s ease;
  position: relative;
  display: inline-block;
}

.contact-email::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--neon-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.contact-email:hover {
  color: var(--neon-blue);
}

.contact-email:hover::after {
  transform: scaleX(1);
}

.contact-message {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.6;
}

.contact-message strong {
  color: var(--neon-pink);
}

.contact-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.social-link:hover {
  color: var(--neon-pink);
  border-color: var(--neon-pink);
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.2);
  transform: translateY(-2px);
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer {
  background: #000;
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.9375rem;
  color: #a0a5c0;
  margin: 0;
}

.footer-email {
  font-size: 0.9375rem;
  color: #a0a5c0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-email:hover {
  color: var(--neon-blue);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #333;
  border-radius: 50%;
  color: #a0a5c0;
  transition: all 0.2s ease;
}

.footer-social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-social-link:hover {
  color: var(--neon-pink);
  border-color: var(--neon-pink);
  box-shadow: 0 0 8px rgba(255, 0, 255, 0.2);
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Reduced motion */

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

  .char {
    animation: none !important;
    opacity: 1 !important;
  }

  .orb {
    animation: none;
  }

  .scroll-hint {
    animation: none;
  }

  .project-card:hover {
    transform: none;
  }

  .skill:hover {
    transform: none;
  }

  .social-link:hover {
    transform: none;
  }

  .cta-btn:hover {
    transform: none;
  }

  .float-btn:hover {
    transform: none;
  }

  .float-btn-text,
  .lang-btn-text {
    max-width: 10rem;
    padding-left: 0.25rem;
  }

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

/* Responsive */

@media (max-width: 900px) {
  .skills-cards {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (max-width: 768px) {
  :root {
    --space-section: 5rem;
  }

  .process-timeline::before {
    left: 7px;
    transform: none;
  }

  .timeline-step {
    width: 100%;
    padding: 0 0 2.5rem 2.5rem;
    text-align: left;
  }

  .timeline-step:nth-child(odd),
  .timeline-step:nth-child(even) {
    left: 0;
    padding-right: 0;
    padding-left: 2.5rem;
    text-align: left;
  }

  .timeline-dot {
    left: 0 !important;
    right: auto !important;
  }

  .timeline-step:nth-child(odd) .timeline-dot,
  .timeline-step:nth-child(even) .timeline-dot {
    left: 0;
    right: auto;
  }

  .timeline-step:nth-child(odd) .step-desc {
    margin-left: 0;
  }

  .step-desc {
    max-width: none;
  }

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

  .about-stat {
    text-align: left;
  }

  .stat-value {
    font-size: 3rem;
  }

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

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

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 105;
    background: rgba(13, 13, 15, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .nav-links a {
    font-size: 1.5rem;
    color: var(--text);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  .skills-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
    --space-section: 3.5rem;
  }

  .hero {
    padding: 1.5rem 0;
  }

  .hero-tagline {
    padding-inline: 0;
  }

  .float-btns {
    bottom: 1rem;
    right: 1rem;
  }

  .float-btn {
    padding: 0.65rem;
  }

  .float-btn svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .float-btn-text,
  .lang-btn-text {
    display: none;
  }

  .float-btn--whatsapp {
    bottom: 3.1rem;
  }

  .float-btns .lang-floating {
    bottom: 6.2rem;
  }
}

/* RTL - Arabic language support */

[dir="rtl"] {
  --font-display: 'Tajawal', 'Space Grotesk', sans-serif;
  --font-body: 'Tajawal', 'Inter', sans-serif;
}

[dir="rtl"] .nav {
  direction: ltr;
}

[dir="rtl"] .section-title::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .about-stat {
  text-align: left;
}

[dir="rtl"] .timeline-step:nth-child(odd) {
  left: auto;
  right: 0;
  padding-right: 0;
  padding-left: 3rem;
  text-align: left;
}

[dir="rtl"] .timeline-step:nth-child(even) {
  left: auto;
  right: 50%;
  padding-left: 0;
  padding-right: 3rem;
  text-align: right;
}

[dir="rtl"] .timeline-step:nth-child(odd) .timeline-dot {
  right: auto;
  left: -7px;
}

[dir="rtl"] .timeline-step:nth-child(even) .timeline-dot {
  left: auto;
  right: -7px;
}

[dir="rtl"] .timeline-step:nth-child(odd) .step-desc {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .project-card::after {
  content: '\2190';
  right: auto;
  left: 1.5rem;
}

[dir="rtl"] .project-card:hover::after {
  transform: translateX(-6px);
}

[dir="rtl"] .float-btns {
  right: auto;
  left: 1.5rem;
}

[dir="rtl"] .float-btn {
  right: auto;
  left: 0;
}

[dir="rtl"] .float-btns .lang-floating {
  right: auto;
  left: 0;
}

[dir="rtl"] .contact-email::after {
  left: auto;
  right: 0;
  transform-origin: right;
}

[dir="rtl"] .service-category-header {
  text-align: right;
}

@media (max-width: 480px) {
  [dir="rtl"] .float-btns {
    right: auto;
    left: 1rem;
  }
}

@media (max-width: 768px) {
  [dir="rtl"] .process-timeline::before {
    left: auto;
    right: 7px;
  }

  [dir="rtl"] .timeline-step,
  [dir="rtl"] .timeline-step:nth-child(odd),
  [dir="rtl"] .timeline-step:nth-child(even) {
    left: auto;
    right: 0;
    padding: 0 2.5rem 2.5rem 0;
    padding-right: 2.5rem;
    text-align: right;
  }

  [dir="rtl"] .timeline-dot,
  [dir="rtl"] .timeline-step:nth-child(odd) .timeline-dot,
  [dir="rtl"] .timeline-step:nth-child(even) .timeline-dot {
    left: auto !important;
    right: 0 !important;
  }

  [dir="rtl"] .about-stat {
    text-align: right;
  }
}

/* Language floating toggle */

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem;
  border-radius: 2rem;
  border: none;
  background: #fff;
  color: #0D0D0F;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lang-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 255, 255, 0.4);
}

.lang-btn-icon {
  flex-shrink: 0;
  min-width: 1.5rem;
  text-align: center;
}

.lang-btn-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.3s ease, padding 0.3s ease;
}

.lang-btn:hover .lang-btn-text {
  max-width: 6rem;
  padding-left: 0.25rem;
}

@media (max-width: 640px) {
  .float-btns .lang-btn {
    font-size: 0.875rem;
    padding: 0.65rem;
    min-width: 2.55rem;
  }

  .nav-open ~ .float-btns .lang-floating {
    display: none;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}
