/* ============================================
   ARDILLON STUDIO — Design System
   Premium Dark Mode | Violet + Cyan
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* --- Gibson Font (local/system) --- */
@font-face {
  font-family: 'Gibson';
  src: local('Gibson'), local('Gibson-Regular');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gibson';
  src: local('Gibson SemiBold'), local('Gibson-SemiBold');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gibson';
  src: local('Gibson Bold'), local('Gibson-Bold');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gibson';
  src: local('Gibson ExtraBold'), local('Gibson-ExtraBold'), local('Gibson Heavy'), local('Gibson-Heavy');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* --- Design Tokens --- */
:root {
  /* Colors */
  --bg-primary: #0A0A0F;
  --bg-secondary: #0F0F17;
  --bg-tertiary: #14141F;
  --bg-card: #18182A;
  --bg-card-hover: #1E1E35;

  --violet-deep: #4B0082;
  --violet: #6B2FA0;
  --violet-mid: #7C3AED;
  --violet-light: #8B5CF6;
  --violet-glow: rgba(107, 47, 160, 0.3);

  --cyan: #6EEAEA;
  --cyan-light: #A5F3FC;
  --cyan-dim: rgba(110, 234, 234, 0.15);
  --cyan-glow: rgba(110, 234, 234, 0.25);

  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.40);
  --text-dim: rgba(255, 255, 255, 0.20);

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.10);
  --border-accent: rgba(110, 234, 234, 0.20);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%);
  --gradient-pill: linear-gradient(90deg, var(--violet-mid) 0%, var(--cyan) 100%);
  --gradient-hero: linear-gradient(180deg, rgba(75, 0, 130, 0.15) 0%, transparent 50%, rgba(110, 234, 234, 0.05) 100%);
  --gradient-card: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
  --gradient-glow: radial-gradient(ellipse at center, var(--violet-glow), transparent 70%);

  /* Typography */
  --font-heading: 'Gibson', 'Outfit', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --max-width: 1600px;
  --max-width-narrow: 960px;
  --header-height: 80px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 100px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow-violet: 0 0 40px rgba(107, 47, 160, 0.2);
  --shadow-glow-cyan: 0 0 40px rgba(110, 234, 234, 0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 2vw, 2rem);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.heading-hero {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.heading-section {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.heading-card {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
}

.text-body {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-small {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--cyan);
  color: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(110, 234, 234, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--cyan-light);
  box-shadow: 0 0 30px rgba(110, 234, 234, 0.4), 0 0 60px rgba(110, 234, 234, 0.15);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-glow);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--cyan);
  padding: 0.5rem 0;
  border-radius: 0;
}

.btn--ghost::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width var(--duration-normal) var(--ease-out);
}

.btn--ghost:hover::after {
  width: 100%;
}

.btn .arrow {
  transition: transform var(--duration-normal) var(--ease-out);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* --- CTA Pill (solid cyan button) --- */
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border-radius: 15px;
  background: transparent;
  color: var(--cyan);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  border: 1.5px solid var(--cyan);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.cta-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(110, 234, 234, 0.08);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.cta-pill:hover::before {
  opacity: 1;
}

.cta-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(110, 234, 234, 0.2);
  color: var(--cyan);
  border-color: var(--cyan);
}

.cta-pill--primary {
  background: var(--cyan);
  color: var(--bg-primary);
  border-color: var(--cyan);
}

.cta-pill--primary:hover {
  background: var(--cyan-light);
  color: var(--bg-primary);
  border-color: var(--cyan-light);
}

.cta-pill--secondary {
  border-color: rgba(255,255,255,0.4);
  color: var(--text-primary);
}

.cta-pill--secondary:hover {
  border-color: rgba(255,255,255,0.7);
  color: var(--text-primary);
}

.cta-pill--outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-out);
  background: transparent;
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.header__logo {
  height: clamp(30px, 5vh, 45px);
  width: auto;
  flex-shrink: 0;
  transition: opacity var(--duration-fast) var(--ease-out);
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.header__logo:hover {
  opacity: 0.8;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__menu a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.header__menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-pill);
  border-radius: 2px;
  transition: width var(--duration-normal) var(--ease-out);
}

.header__menu a:hover,
.header__menu a.active {
  color: var(--text-primary);
}

.header__menu a:hover::after,
.header__menu a.active::after {
  width: 100%;
}

.header__cta {
  font-size: 0.85rem;
  padding: 0.65rem 1.5rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 10001;
  background: none;
  border: none;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1),
              width 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
}

.menu-toggle span:nth-child(3) {
  width: 65%;
}

.menu-toggle:hover span:nth-child(3) {
  width: 100%;
}

.menu-toggle.active {
  opacity: 0;
  pointer-events: none;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  width: 100%;
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Close button inside mobile menu */
.menu-close {
  display: none;
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.3s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-close svg {
  width: 18px;
  height: 18px;
}

.menu-close:hover {
  background: rgba(255,255,255,0.12);
  transform: rotate(90deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero__bg {
  background: url('imagenes/hero-bg.jpg') center/cover no-repeat;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.1);
  transition: transform 8s var(--ease-out);
}

.hero__bg-image.loaded {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(10, 10, 15, 0.4) 0%, rgba(10, 10, 15, 0.15) 40%, rgba(10, 10, 15, 0.5) 80%, rgba(10, 10, 15, 0.95) 100%),
    linear-gradient(90deg, rgba(10, 10, 15, 0.7) 0%, transparent 50%, rgba(10, 10, 15, 0.3) 100%);
  z-index: 1;
}

.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  padding: var(--space-2xl) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(110, 234, 234, 0.08);
  border: 1px solid rgba(110, 234, 234, 0.15);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero__badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero__subtitle {
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero__desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounceDown 2s ease-in-out infinite;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--duration-fast);
}

.hero__scroll-indicator:hover {
  color: var(--cyan);
}

.hero__scroll-indicator svg {
  width: 28px;
  height: 28px;
}

/* ============================================
   AUTHORITY SECTION (amp-style editorial)
   ============================================ */
.authority {
  padding: var(--space-3xl) 0;
  position: relative;
}

.authority__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.authority-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.authority-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-pill);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.authority-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

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



.authority-card--gradient-2 {
  background: linear-gradient(135deg, #1e1e35 0%, #6EEAEA 100%);
  min-height: 180px;
}

.authority-card__image-wrapper {
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-sm);
  overflow: hidden;
  margin: calc(var(--space-xl) * -1) calc(var(--space-xl) * -1) var(--space-lg);
  aspect-ratio: 16/9;
}

.authority-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.authority-card:hover .authority-card__img {
  transform: scale(1.04);
}

.authority-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

.authority-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============================================
   CLIENTS MARQUEE
   ============================================ */
.clients {
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
  background-color: #FFFFFF;
  /* Espacio lateral para evitar que los logos toquen los bordes */
  margin: 0 var(--space-md);
  border-radius: var(--radius-lg);
}

.clients::before,
.clients::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.clients::before {
  left: 0;
  background: linear-gradient(90deg, #FFFFFF 0%, transparent 100%);
}

.clients::after {
  right: 0;
  background: linear-gradient(270deg, #FFFFFF 0%, transparent 100%);
}

.clients__label {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #666666;
  margin-bottom: var(--space-lg);
  font-weight: 500;
}

.clients__title {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #999999;
  margin-bottom: var(--space-xl);
  font-weight: 600;
  font-family: var(--font-sans);
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 0;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 4rem;
  animation: marquee-scroll 30s linear infinite;
  flex-shrink: 0;
  width: max-content;
}

.marquee__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  padding: 0 1.5rem;
}

.marquee__item img {
  max-height: 100%;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(60%);
  transition: all var(--duration-normal) var(--ease-out);
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item:hover img {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.05);
}

.marquee__divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet-light);
  flex-shrink: 0;
  opacity: 0.4;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: var(--space-3xl) 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.services__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.services__header {
  max-width: 50%;
}

.services__header p {
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-link {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--duration-fast), opacity var(--duration-fast);
}

.text-link:hover {
  color: var(--cyan-light);
  opacity: 0.85;
}

.services__header .text-link {
  display: block;
  text-align: left;
}

.services__footer {
  margin-top: var(--space-2xl);
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 20;
}

.services__glow {
  position: absolute;
  top: 50%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--gradient-glow);
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.3;
}

.services__layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: var(--space-2xl);
  align-items: start;
  position: relative;
  z-index: 1;
}

.services__text {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.services__text p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
  font-size: 1.05rem;
}

.services__category {
  margin-bottom: var(--space-xl);
}

.services__category-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.services__category-title::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--cyan);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-sm);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--violet-glow), transparent 70%);
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow-violet);
  background: var(--bg-card-hover);
}

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

.service-card__icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.service-card__icon svg {
  width: 48px;
  height: 48px;
  stroke: url(#icon-gradient);
  stroke-width: 1.5;
  fill: none;
  transition: transform var(--duration-normal) var(--ease-spring);
}

.service-card:hover .service-card__icon svg {
  transform: scale(1.1);
}

.service-card__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.service-card__desc {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.service-card:hover .service-card__desc {
  opacity: 1;
  max-height: 80px;
  margin-top: 0.25rem;
}

/* Audio Player */
.audio-player {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  opacity: 0.6;
  transition: all var(--duration-normal) var(--ease-out);
}

.service-card:hover .audio-player {
  opacity: 1;
  border-top-color: var(--border-accent);
}

.audio-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
  transition: all var(--duration-fast);
}

.audio-btn:hover {
  transform: scale(1.1);
  background: #FFFFFF;
  color: var(--bg-primary);
}

.audio-btn svg {
  width: 16px;
  height: 16px;
}

.audio-pause-icon {
  display: none;
}

.audio-player.is-playing .audio-play-icon {
  display: none;
}

.audio-player.is-playing .audio-pause-icon {
  display: block;
}

.audio-timeline {
  flex-grow: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.audio-progress {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* ============================================
   PORTFOLIO / WORK SECTION
   ============================================ */
.portfolio {
  padding: var(--space-3xl) 0;
  position: relative;
}

.portfolio__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.portfolio__header-text {
  max-width: 550px;
}

.portfolio__header-text p {
  color: var(--text-secondary);
  margin-top: var(--space-sm);
  font-size: 1.05rem;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-md);
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-md);
  cursor: pointer;
  height: 100%;
}

.portfolio-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  transition: all var(--duration-normal) var(--ease-out);
}

.portfolio-card:hover .portfolio-card__image {
  transform: scale(1.08);
}

.portfolio-card__category {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 0.3rem;
}

.portfolio-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.portfolio-card__duration {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.portfolio-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--duration-normal) var(--ease-out);
}

.portfolio-card:hover .portfolio-card__cta {
  opacity: 1;
  transform: translateY(0) scale(1.1);
  background: #FFFFFF;
  color: var(--bg-primary);
}

/* ============================================
   VIDEO MODAL
   ============================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 5, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: none;
  color: #FFF;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--duration-fast);
  z-index: 10000;
}

.video-modal__close:hover {
  transform: scale(1.1);
}

.video-modal__content {
  width: 90%;
  max-width: 1200px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transform: translateY(20px);
  transition: transform var(--duration-normal) var(--ease-out);
}

.video-modal.is-open .video-modal__content {
  transform: translateY(0);
}

.video-modal__content iframe, 
.video-modal__content video {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   PROCESS / METHODOLOGY SECTION
   ============================================ */
.process {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.process__bg {
  position: absolute;
  inset: 0;
  background: var(--bg-secondary);
  clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0 100%);
}

.process__inner {
  position: relative;
  z-index: 1;
}

.process__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.process__header p {
  color: var(--text-secondary);
  margin-top: var(--space-sm);
  font-size: 1.05rem;
}

.process__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.process__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  aspect-ratio: 4/3;
}

.process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: var(--gradient-pill);
  opacity: 0.3;
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.process-step__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--bg-card);
  border: 2px solid var(--violet-mid);
  color: var(--violet-light);
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-glow-violet);
}

.process-step:hover .process-step__number {
  background: var(--gradient-pill);
  color: var(--text-primary);
  border-color: transparent;
  transform: scale(1.1);
}

.process-step__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.process-step__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 220px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--space-3xl) 0;
}

.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about__text h2 {
  margin-bottom: var(--space-md);
}

.about__text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.about__stat {
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.about__stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.about__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__image {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
  border: 1px solid var(--border-subtle);
}

.about__visual-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: var(--gradient-glow);
  filter: blur(80px);
  z-index: -1;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: var(--space-3xl) 0;
  position: relative;
}

.contact__inner {
  position: relative;
  z-index: 1;
}

.contact__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.contact__header .heading-section {
  margin-bottom: var(--space-sm);
}

.contact__header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.contact__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact__routes {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-route {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.contact-route:hover {
  border-color: var(--border-accent);
  transform: translateX(8px);
  box-shadow: var(--shadow-glow-violet);
}

.contact-route__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 47, 160, 0.15);
  flex-shrink: 0;
}

.contact-route__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--violet-light);
  fill: none;
  stroke-width: 2;
}

.contact-route__text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-route__text p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.contact__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.contact__social a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--duration-normal) var(--ease-out);
}

.contact__social a:hover {
  border-color: var(--cyan);
  background: rgba(110, 234, 234, 0.08);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-cyan);
}

.contact__social svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
  stroke: var(--text-secondary);
  transition: fill var(--duration-fast), stroke var(--duration-fast);
}

/* Instagram uses stroke rendering */
.contact__social a[aria-label="Instagram"] svg {
  fill: none;
}

.contact__social a:hover svg {
  fill: var(--cyan);
  stroke: var(--cyan);
}

.contact__social a[aria-label="Instagram"]:hover svg {
  fill: none;
  stroke: var(--cyan);
}

/* Contact Form */
.contact__form {
  width: 100%;
  background: var(--bg-card);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.contact__form h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--violet-mid);
  box-shadow: 0 0 0 3px var(--violet-glow);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-submit {
  margin-top: var(--space-md);
  width: 100%;
  justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  height: clamp(30px, 5vh, 45px);
  margin-bottom: var(--space-lg);
}

.footer__logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.footer__brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer__column h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.footer__column ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__column a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__column a:hover {
  color: var(--cyan);
  transform: translateX(4px);
  display: inline-block;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copyright {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer__bottom-links a {
  font-size: 0.82rem;
  color: var(--text-dim);
}

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

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out), 
              transform var(--duration-slow) var(--ease-out);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all var(--duration-slow) var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all var(--duration-slow) var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: all var(--duration-slow) var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0ms; }
.stagger-children .reveal:nth-child(2) { transition-delay: 80ms; }
.stagger-children .reveal:nth-child(3) { transition-delay: 160ms; }
.stagger-children .reveal:nth-child(4) { transition-delay: 240ms; }
.stagger-children .reveal:nth-child(5) { transition-delay: 320ms; }
.stagger-children .reveal:nth-child(6) { transition-delay: 400ms; }
.stagger-children .reveal:nth-child(7) { transition-delay: 480ms; }
.stagger-children .reveal:nth-child(8) { transition-delay: 560ms; }
.stagger-children .reveal:nth-child(9) { transition-delay: 640ms; }

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(12px);
  }
  60% {
    transform: translateX(-50%) translateY(6px);
  }
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
  margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .services__layout {
    grid-template-columns: 1fr;
  }

  .services__text {
    position: static;
  }

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

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

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

  .process__visual {
    display: none;
  }

  .process__steps {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .process__steps::before {
    display: none;
  }

  .about__layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about__visual {
    order: -1;
  }

  .about__image {
    aspect-ratio: 16/9;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  /* Remove backdrop-filter on scrolled header in mobile — it breaks position:fixed children in Safari */
  .header.scrolled {
    backdrop-filter: none;
    background: rgba(10, 10, 15, 0.97);
  }

  .menu-toggle {
    display: flex;
  }

  .menu-close {
    display: flex;
  }

  .header__nav {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 15, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.45s cubic-bezier(0.23, 1, 0.32, 1),
                visibility 0.45s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-y: auto;
    padding: 5rem var(--space-lg) 3rem;
  }

  .header__nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Staggered item animation */
  .header__nav.open .header__menu li,
  .header__nav.open .header__cta {
    animation: menuItemIn 0.4s cubic-bezier(0.23, 1, 0.32, 1) both;
  }

  .header__nav.open .header__menu li:nth-child(1) { animation-delay: 0.08s; }
  .header__nav.open .header__menu li:nth-child(2) { animation-delay: 0.13s; }
  .header__nav.open .header__menu li:nth-child(3) { animation-delay: 0.18s; }
  .header__nav.open .header__menu li:nth-child(4) { animation-delay: 0.23s; }
  .header__nav.open .header__menu li:nth-child(5) { animation-delay: 0.28s; }
  .header__nav.open .header__cta               { animation-delay: 0.34s; }

  @keyframes menuItemIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .header__menu {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .header__menu a {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: color 0.25s ease, transform 0.25s ease;
  }

  .header__menu a:hover {
    color: var(--cyan);
    transform: translateX(4px);
  }

  .header__cta {
    font-size: 1rem;
    padding: 0.85rem 2rem;
    margin-top: var(--space-sm);
  }

  .hero__content {
    padding: var(--space-xl) 0 var(--space-2xl);
  }

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

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

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

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

  /* Vertical line centered for mobile process steps */
  .process__steps::before {
    display: block;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    position: absolute;
    content: '';
    background: var(--gradient-pill);
    opacity: 0.2;
    z-index: 0;
  }

  .process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
  }

  .process-step__desc {
    max-width: 280px;
  }

  .about__stats {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group {
    margin-bottom: var(--space-sm);
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

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

  /* Contact: single column on mobile */
  .contact__container {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .contact__social {
    justify-content: center;
  }

  .contact__form {
    margin-top: 0;
    padding: var(--space-md);
  }

  /* Footer centered on mobile */
  .footer__top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__logo {
    justify-content: center;
  }

  .footer__brand {
    max-width: 100%;
  }

  .footer__column ul {
    padding: 0;
  }
}

@media (max-width: 480px) {

  .hero__cta-group {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero__cta-group .cta-pill {
    width: 100%;
    justify-content: center;
  }

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

  .heading-section {
    font-size: 2rem;
  }
}
