/* ============================================================
   XION — STUDIO DE DISEÑO · PREMIUM CORPORATE WEBSITE
   Manual de Identidad: Jost (sharp) + Red Hat Display (clean)
   Paleta: navy #1a2640 · red #c21221 · orange #f05424 · gray #ccc9cc
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

:root {
  /* Brand tokens (manual oficial) */
  --c-red: #c21221;
  --c-red-deep: #991c21;
  --c-orange: #f05424;
  --c-orange-deep: #ba3b26;
  --c-navy: #24335c;
  --c-navy-dark: #1a2640;
  --c-navy-darker: #121a30;
  --c-gray: #e8e8eb;
  --c-gray-texture: #ccc9cc;

  /* Interface — dark navy textural */
  --bg-base: #0e1426;
  --bg-deep: #0a0f1d;
  --bg-card: rgba(18, 26, 48, 0.65);
  --bg-card-hover: rgba(28, 38, 66, 0.8);

  --border-faint: rgba(204, 201, 204, 0.08);
  --border-soft: rgba(204, 201, 204, 0.14);
  --border-active: rgba(240, 84, 36, 0.5);

  --text-pri: #ffffff;
  --text-sec: #dfe3ec;
  --text-mut: #9ba3b8;
  --text-dim: #747c91;

  --grad-brand: linear-gradient(120deg, #c21221 0%, #f05424 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(194,18,33,0.15), rgba(240,84,36,0.15));

  --glow-orange: 0 0 60px rgba(240, 84, 36, 0.35);
  --glow-red: 0 0 60px rgba(194, 18, 33, 0.4);

  --font-title: 'Jost', sans-serif;
  --font-body: 'Red Hat Display', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-sec);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  cursor: none;
}
/* Textural navy background with strong feel */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(36, 51, 92, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(194, 18, 33, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(26, 38, 64, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, #0a0f1d 0%, #0e1426 50%, #0a0f1d 100%);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(204,201,204,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,201,204,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 90%);
}
@media (pointer: coarse) { body { cursor: auto; } .cursor-dot, .cursor-ring { display: none !important; } }

::selection { background: var(--c-orange); color: #fff; }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--c-navy); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-orange); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: none; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: min(1320px, 92%); margin: 0 auto; }

/* ============ GRAIN OVERLAY ============ */
.grain-overlay {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============ CUSTOM CURSOR ============ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 99999;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--c-orange); transition: transform 0.1s var(--ease); }
.cursor-ring {
  width: 38px; height: 38px; border: 1.5px solid rgba(240, 84, 36, 0.5);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.cursor-ring.hover { width: 64px; height: 64px; background: rgba(240,84,36,0.08); border-color: var(--c-orange); }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-brand); z-index: 9999; transition: width 0.1s linear;
}

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0; z-index: 100000;
  background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
html.loader-seen .loader { display: none; }
.loader-inner { width: min(300px, 72vw); text-align: center; }
.loader-brand { position: relative; width: 190px; margin: 0 auto; overflow: hidden; }
.loader-logo {
  width: auto; height: 104px; margin: 0 auto 8px;
  opacity: 0; clip-path: inset(0 100% 0 0); transform: scale(0.96);
  animation: loaderLogoReveal 0.56s var(--ease) 0.08s forwards;
}
.loader-wordmark {
  color: var(--text-pri); font-family: var(--font-title); font-size: 1.8rem; font-weight: 900;
  letter-spacing: 0.28em; padding-left: 0.28em; opacity: 0; transform: translateY(8px);
  animation: loaderWordReveal 0.38s var(--ease) 0.42s forwards;
}
.loader-scan {
  position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 2px;
  background: linear-gradient(180deg, transparent 4%, var(--c-red) 28%, var(--c-orange) 72%, transparent 96%);
  box-shadow: 0 0 22px rgba(240,84,36,0.75); opacity: 0;
  animation: loaderScan 0.68s var(--ease) 0.04s forwards;
}
.loader-bar { width: 190px; height: 2px; background: rgba(255,255,255,0.09); margin: 20px auto 14px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 100%; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; animation: loaderFill 0.68s var(--ease) 0.18s forwards; }
.loader-sub { color: var(--text-mut); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.34em; opacity: 0; animation: loaderSubReveal 0.32s ease 0.58s forwards; }
@keyframes loaderLogoReveal { to { opacity: 1; clip-path: inset(0 0 0 0); transform: scale(1); } }
@keyframes loaderWordReveal { to { opacity: 1; transform: translateY(0); } }
@keyframes loaderScan { 0% { opacity: 0; transform: translateX(-12px); } 18% { opacity: 1; } 82% { opacity: 1; } 100% { opacity: 0; transform: translateX(202px); } }
@keyframes loaderFill { to { transform: scaleX(1); } }
@keyframes loaderSubReveal { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .loader-logo, .loader-wordmark, .loader-sub { animation: none; opacity: 1; transform: none; clip-path: none; }
  .loader-scan { display: none; }
  .loader-bar span { animation: none; transform: scaleX(1); }
}

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: max(22px, env(safe-area-inset-top)) 0 22px; transition: all 0.4s var(--ease);
}
.header.scrolled {
  padding: max(12px, env(safe-area-inset-top)) 0 12px;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-faint);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-svg { width: 38px; height: 38px; transition: transform 0.5s var(--ease); }
.logo-link:hover .logo-svg { transform: rotate(90deg); }
.logo-text { font-family: var(--font-title); font-weight: 900; font-size: 1.5rem; letter-spacing: 0.18em; color: var(--text-pri); }

.nav-menu {
  display: flex; gap: 6px; align-items: center;
  background: rgba(20, 18, 24, 0.78); padding: 6px; border-radius: 100px;
  border: 1px solid rgba(194, 18, 33, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.nav-link {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  min-height: 44px; display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 100px; color: var(--text-mut);
  transition: all 0.3s var(--ease); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; right: 18px; bottom: 5px; left: 18px; height: 2px;
  border-radius: 2px; background: var(--c-orange); transform: scaleX(0); transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover { color: var(--c-orange); background: rgba(194,18,33,0.1); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--text-pri); background: rgba(116, 33, 46, 0.62); }

.btn-nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; background: var(--grad-brand); color: #fff;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 100px; transition: all 0.4s var(--ease);
  box-shadow: 0 6px 24px rgba(194,18,33,0.35);
}
.btn-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(240,84,36,0.5); }
.btn-nav-cta svg { transition: transform 0.4s var(--ease); }
.btn-nav-cta:hover svg { transform: translateX(4px); }

.menu-toggle { display: none; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--text-pri); transition: all 0.3s var(--ease); }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.language-toggle {
  display: flex; align-items: center; gap: 5px; min-width: 58px; min-height: 44px; padding: 8px 10px;
  border: 1px solid var(--border-soft); border-radius: 6px; color: var(--text-dim);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0; transition: border-color 0.3s ease;
}
.language-toggle:hover { border-color: var(--c-orange); }
.lang-option.active { color: var(--text-pri); }
.lang-divider { opacity: 0.45; }

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 3px;
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; background: var(--grad-brand); color: #fff;
  font-family: var(--font-title); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 100px; position: relative; overflow: hidden;
  transition: all 0.4s var(--ease); box-shadow: 0 8px 30px rgba(194,18,33,0.4);
}
.btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent); transform: translateX(-100%); transition: transform 0.6s var(--ease); }
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(240,84,36,0.55); }
.btn-primary.big { padding: 20px 48px; font-size: 0.95rem; }
.btn-primary.full { width: 100%; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border: 1.5px solid var(--border-soft); color: var(--text-pri);
  font-family: var(--font-title); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 100px; transition: all 0.4s var(--ease); background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { border-color: var(--c-orange); background: rgba(240,84,36,0.1); transform: translateY(-3px); }
.btn-ghost svg { transition: transform 0.4s var(--ease); }
.btn-ghost:hover svg { transform: translateX(5px); }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg-img { width: 100%; height: 120%; object-fit: cover; filter: grayscale(0.42) contrast(1.15) brightness(0.56); animation: materialSettle 1.1s var(--ease-out) 0.12s both; transform-origin: center center; }
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,15,29,0.62) 0%, rgba(10,15,29,0.28) 40%, rgba(10,15,29,0.92) 100%),
    linear-gradient(90deg, rgba(10,15,29,0.82) 0%, rgba(10,15,29,0.2) 58%, transparent 100%),
    radial-gradient(circle at 70% 30%, rgba(194,18,33,0.24) 0%, transparent 50%);
}

.hero-content { position: relative; z-index: 2; }
.hero-meta-top {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 20px; background: var(--grad-brand-soft); border: 1px solid var(--border-active);
  border-radius: 100px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; color: var(--text-sec); margin-bottom: 36px;
}
.dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--c-orange); box-shadow: 0 0 12px var(--c-orange); animation: dotPulse 2s infinite; }
@keyframes dotPulse { 0%,100% { opacity:1; transform: scale(1);} 50% { opacity:0.5; transform: scale(1.3);} }
.meta-divider { width: 1px; height: 14px; background: var(--border-soft); }

.hero-title {
  font-family: var(--font-title); font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 6.2rem); line-height: 0.95; letter-spacing: -0.02em;
  color: var(--text-pri); margin-bottom: 0;
}
.gradient-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.outline-text { color: transparent; -webkit-text-stroke: 2px var(--text-pri); }

.hero-bottom-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: end;
  margin-top: 56px; padding-bottom: 50px;
}
.hero-description { font-size: 1.05rem; color: var(--text-sec); max-width: 540px; line-height: 1.7; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 32px 0 0; border-top: 1px solid var(--border-faint);
}
.hero-stat { padding: 4px 0; }
.hero-stat-num { font-family: var(--font-title); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--text-pri); line-height: 1; }
.hero-stat:nth-child(2) .hero-stat-num { color: var(--c-orange); }
.hero-stat:nth-child(3) .hero-stat-num { color: var(--c-red); }
.hero-stat-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mut); margin-top: 8px; line-height: 1.4; }

.hero-scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.65rem; letter-spacing: 0.3em; color: var(--text-mut); z-index: 3;
}
.scroll-line { width: 1px; height: 50px; background: linear-gradient(180deg, var(--c-orange), transparent); position: relative; overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--text-pri); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { top: -50%;} 100% { top: 100%;} }

/* The opening image settles like a camera finding the finished material. */
@keyframes materialSettle {
  from { opacity: 0.72; transform: scale(1.045) translate3d(0.8%, 0, 0); filter: grayscale(0.82) contrast(1.08) brightness(0.38); }
  to { opacity: 1; transform: scale(1) translate3d(0, 0, 0); }
}

.trust-strip { border-top: 1px solid var(--border-faint); border-bottom: 1px solid var(--border-faint); background: #0d1424; }
.trust-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { min-height: 112px; padding: 24px 22px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--border-faint); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { color: var(--text-pri); font-family: var(--font-title); font-size: 1rem; }
.trust-item span { color: var(--text-mut); margin-top: 5px; font-size: 0.8rem; line-height: 1.45; }

/* ============ MARQUEE ============ */
.marquee {
  background: var(--bg-deep); border-top: 1px solid var(--border-faint); border-bottom: 1px solid var(--border-faint);
  padding: 22px 0; overflow: hidden; white-space: nowrap;
}
.marquee-track { display: inline-flex; animation: marquee 35s linear infinite; }
.marquee-item {
  font-family: var(--font-title); font-weight: 800; font-size: 1.4rem; letter-spacing: 0.12em;
  color: var(--text-mut); text-transform: uppercase; padding: 0 30px;
  display: inline-flex; align-items: center; gap: 30px;
}
.marquee-item svg { width: 16px; height: 16px; color: var(--c-orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding: 120px 0; position: relative; }
.section-header { max-width: 760px; margin-bottom: 70px; }
.section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-orange); margin-bottom: 20px; font-family: var(--font-title);
}
.section-title { font-family: var(--font-title); font-weight: 900; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.02em; color: var(--text-pri); }
.section-subtitle { margin-top: 24px; font-size: 1.05rem; color: var(--text-mut); max-width: 620px; }

/* ============ MANIFIESTO ============ */
.manifesto-section { padding: 160px 0; overflow: hidden; }
.manifesto-bg { position: absolute; inset: 0; z-index: -1; }
.manifesto-bg-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.3) brightness(0.35); }
.manifesto-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,15,29,0.95) 0%, rgba(10,15,29,0.7) 60%, rgba(10,15,29,0.9) 100%); }
.manifesto-grid { display: grid; grid-template-columns: 200px 1fr; gap: 60px; align-items: start; }
.manifesto-title { font-family: var(--font-title); font-weight: 900; font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--text-pri); }
.manifesto-body { margin-top: 32px; max-width: 680px; }
.manifesto-body p { font-size: 1.15rem; color: var(--text-sec); line-height: 1.7; }
.manifesto-body strong { color: var(--text-pri); }
.manifesto-pillars { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.pillar {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; background: rgba(26,38,64,0.5); border: 1px solid var(--border-soft);
  border-radius: 100px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-title); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; color: var(--text-pri);
}
.pillar-num { color: var(--c-orange); font-size: 0.7rem; }

/* ============ CURRICULUM ============ */
.curriculum-section { background: rgba(10, 15, 29, 0.4); }
.curriculum-tabs { display: flex; gap: 14px; margin-bottom: 50px; flex-wrap: wrap; }
.tab-btn {
  flex: 1; min-width: 260px; text-align: left;
  padding: 26px 30px; background: var(--bg-card); border: 1px solid var(--border-faint);
  border-radius: var(--r-lg); transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.tab-btn::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: var(--grad-brand); transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s var(--ease); }
.tab-btn.active::before, .tab-btn:hover::before { transform: scaleY(1); }
.tab-btn.active { background: var(--bg-card-hover); border-color: var(--border-active); }
.tab-num { display: inline-block; font-family: var(--font-title); font-size: 0.8rem; font-weight: 900; color: var(--c-orange); letter-spacing: 0.2em; margin-bottom: 8px; }
.tab-name { display: block; font-family: var(--font-title); font-size: 1.25rem; font-weight: 800; color: var(--text-pri); letter-spacing: -0.01em; }
.tab-desc { display: block; font-size: 0.78rem; color: var(--text-mut); margin-top: 4px; letter-spacing: 0.06em; text-transform: uppercase; }

.tab-panel { display: none; animation: fadeIn 0.6s var(--ease); }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px);} to { opacity: 1; transform: translateY(0);} }

.curriculum-intro { max-width: 720px; margin-bottom: 50px; }
.curriculum-intro h3 { font-family: var(--font-title); font-weight: 800; font-size: 1.7rem; color: var(--text-pri); margin-bottom: 16px; letter-spacing: -0.01em; }
.curriculum-intro p { color: var(--text-mut); font-size: 1.02rem; line-height: 1.7; }
.curriculum-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cur-card {
  background: var(--bg-card); border: 1px solid var(--border-faint);
  border-radius: var(--r-lg); overflow: hidden;
  transition: all 0.5s var(--ease); position: relative;
}
.cur-card:hover { transform: translateY(-8px); border-color: var(--border-active); box-shadow: var(--glow-orange); }
.cur-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.cur-card-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3) contrast(1.1); transition: all 0.6s var(--ease); }
.cur-card:hover .cur-card-img img { transform: scale(1.08); filter: grayscale(0) contrast(1.15); }
.cur-card-tag {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 12px; background: rgba(10,15,29,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 100px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; color: var(--c-orange);
  border: 1px solid var(--border-soft);
}
.cur-card-body { padding: 22px; }
.cur-card-body h4 { font-family: var(--font-title); font-weight: 800; font-size: 1.15rem; color: var(--text-pri); margin-bottom: 8px; }
.cur-card-body p { font-size: 0.88rem; color: var(--text-mut); line-height: 1.55; margin-bottom: 16px; }
.cur-card-specs { list-style: none; border-top: 1px solid var(--border-faint); padding-top: 14px; }
.cur-card-specs li { display: flex; justify-content: space-between; gap: 8px; font-size: 0.76rem; padding: 5px 0; color: var(--text-sec); }
.cur-card-specs span { color: var(--text-dim); font-weight: 700; letter-spacing: 0.08em; font-size: 0.68rem; }
.cur-card-specs b { font-weight: 400; text-align: right; }
.card-quote { display: inline-flex; margin-top: 16px; color: var(--c-orange); font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.card-quote:hover { color: var(--text-pri); }

/* ============ TEAM ============ */
.team-section { overflow: hidden; }
.team-bg { position: absolute; inset: 0; z-index: -1; }
.team-bg-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2) brightness(0.25); }
.team-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,15,29,0.92) 0%, rgba(10,15,29,0.85) 50%, rgba(10,15,29,0.95) 100%); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 70px; }
.team-card {
  padding: 36px 30px; background: var(--bg-card); border: 1px solid var(--border-faint);
  border-radius: var(--r-lg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: all 0.4s var(--ease);
}
.team-card:hover { transform: translateY(-6px); border-color: var(--border-active); }
.team-card-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-brand); margin-bottom: 22px;
  font-family: var(--font-title); font-weight: 900; color: #fff; font-size: 1.3rem; letter-spacing: 0.05em;
  box-shadow: var(--glow-red);
}
.team-name { font-family: var(--font-title); font-weight: 800; font-size: 1.3rem; color: var(--text-pri); margin-bottom: 4px; }
.team-role { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-orange); margin-bottom: 16px; }
.team-bio { font-size: 0.92rem; color: var(--text-mut); line-height: 1.65; }

.team-process {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 30px; background: var(--bg-card); border: 1px solid var(--border-faint); border-radius: var(--r-lg);
}
.process-step { flex: 1; text-align: center; }
.process-num { display: block; font-family: var(--font-title); font-weight: 900; font-size: 0.78rem; color: var(--c-orange); letter-spacing: 0.2em; margin-bottom: 6px; }
.process-step h5 { font-family: var(--font-title); font-weight: 800; font-size: 1.1rem; color: var(--text-pri); margin-bottom: 6px; }
.process-step p { font-size: 0.82rem; color: var(--text-mut); }
.process-arrow { color: var(--c-orange); font-size: 1.5rem; font-weight: 700; opacity: 0.6; }

/* ============ CASES ============ */
.cases-section { background: rgba(10, 15, 29, 0.4); }
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card {
  background: var(--bg-card); border: 1px solid var(--border-faint);
  border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 0.9fr 1.1fr;
  transition: all 0.5s var(--ease);
}
.case-card:hover { transform: translateY(-6px); border-color: var(--border-active); box-shadow: var(--glow-orange); }
.case-media { position: relative; overflow: hidden; min-height: 280px; }
.case-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.4) contrast(1.15); transition: all 0.6s var(--ease); }
.case-card:hover .case-media img { transform: scale(1.08); filter: grayscale(0); }
.case-cat {
  position: absolute; top: 16px; left: 16px;
  padding: 7px 14px; background: var(--grad-brand); border-radius: 100px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; color: #fff;
}
.case-body { padding: 28px; display: flex; flex-direction: column; }
.case-metric { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border-faint); }
.case-metric-num { font-family: var(--font-title); font-weight: 900; font-size: 1.9rem; color: var(--c-orange); letter-spacing: -0.02em; }
.case-metric-label { font-size: 0.76rem; color: var(--text-mut); letter-spacing: 0.08em; text-transform: uppercase; }
.case-body h4 { font-family: var(--font-title); font-weight: 800; font-size: 1.25rem; color: var(--text-pri); margin-bottom: 14px; }
.case-before, .case-after { font-size: 0.86rem; line-height: 1.6; margin-bottom: 8px; color: var(--text-sec); }
.case-before strong { color: var(--text-dim); font-size: 0.7rem; letter-spacing: 0.1em; }
.case-after strong { color: var(--c-orange); font-size: 0.7rem; letter-spacing: 0.1em; }

/* ============ CLIENTS & TESTIMONIALS ============ */
.clients-section {
  background-color: rgba(10,15,29,0.55);
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.client-logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--border-faint); border-left: 1px solid var(--border-faint); }
.client-logo-slot {
  min-height: 124px; padding: 20px; display: flex; align-items: center; justify-content: center;
  background: rgba(16,24,43,0.72); border-right: 1px solid var(--border-faint); border-bottom: 1px solid var(--border-faint);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.client-logo-slot:hover { background: rgba(26,38,64,0.8); border-color: var(--border-active); }
.client-logo-slot span { color: var(--text-dim); font-family: var(--font-title); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.12em; text-align: center; }
.client-logo-slot img { display: block; width: 100%; max-width: 150px; max-height: 64px; object-fit: contain; filter: grayscale(1); opacity: 0.8; }
.client-logo-slot img.client-logo-tall { max-width: 112px; max-height: 86px; }
.client-logo-slot:hover img { filter: grayscale(0); opacity: 1; }
.testimonials-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 70px 0 28px; }
.testimonials-header h3 { color: var(--text-pri); font-family: var(--font-title); font-size: 1.7rem; font-weight: 800; }
.testimonials-header p { max-width: 440px; color: var(--text-mut); font-size: 0.9rem; text-align: right; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { min-height: 290px; padding: 28px; display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border-faint); border-radius: 8px; }
.testimonial-mark { color: var(--c-orange); font-family: Georgia, serif; font-size: 3.5rem; line-height: 0.8; }
.testimonial-card blockquote { margin: 24px 0 30px; color: var(--text-sec); font-size: 1rem; line-height: 1.7; }
.testimonial-author { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 13px; border-top: 1px solid var(--border-faint); }
.testimonial-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(240,84,36,0.14); color: var(--c-orange); font-size: 0.7rem; font-weight: 900; }
.testimonial-author strong, .testimonial-author span { display: block; }
.testimonial-author strong { color: var(--text-pri); font-family: var(--font-title); font-size: 0.86rem; }
.testimonial-author span { margin-top: 3px; color: var(--text-dim); font-size: 0.74rem; }
.clients-cta { margin-top: 34px; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--border-faint); }
.clients-cta p { color: var(--text-sec); font-family: var(--font-title); font-weight: 700; font-size: 1rem; }

/* ============ IA SECTION ============ */
.ia-section { overflow: hidden; }
.ia-bg { position: absolute; inset: 0; z-index: -1; }
.ia-bg-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.8) contrast(1.2) brightness(0.3); }
.ia-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,15,29,0.96) 0%, rgba(10,15,29,0.78) 100%); }
.ia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.ia-desc { margin: 24px 0 28px; font-size: 1.05rem; color: var(--text-sec); line-height: 1.7; max-width: 540px; }
.ia-bullets { list-style: none; margin-bottom: 30px; }
.ia-bullets li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 0.95rem; color: var(--text-sec); }
.ia-bullets svg { width: 20px; height: 20px; color: var(--c-orange); flex-shrink: 0; }
.ia-bullets li > span:first-child { color: var(--c-orange); font-weight: 900; flex-shrink: 0; }
.ia-stat-row { display: flex; gap: 30px; padding-top: 26px; border-top: 1px solid var(--border-faint); }
.ia-stat strong { display: block; font-family: var(--font-title); font-weight: 900; font-size: 1.8rem; color: var(--c-orange); letter-spacing: -0.02em; }
.ia-stat span { font-size: 0.74rem; color: var(--text-mut); letter-spacing: 0.08em; text-transform: uppercase; }

/* Chat widget */
.chat-shell {
  background: linear-gradient(160deg, rgba(26,38,64,0.85), rgba(10,15,29,0.95));
  border: 1px solid var(--border-soft); border-radius: 24px; overflow: hidden;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.chat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: rgba(194,18,33,0.12); border-bottom: 1px solid var(--border-soft);
}
.chat-bot { display: flex; align-items: center; gap: 14px; }
.chat-bot-avatar {
  width: 46px; height: 46px; border-radius: 14px; background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: var(--glow-red);
}
.chat-bot h4 { font-family: var(--font-title); font-weight: 800; font-size: 1rem; color: var(--text-pri); }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: 0.74rem; color: var(--text-mut); }
.chat-status i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.chat-badge { padding: 6px 14px; background: rgba(240,84,36,0.18); color: var(--c-orange); border-radius: 100px; font-family: var(--font-title); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.15em; }
.chat-messages { padding: 24px; min-height: 320px; max-height: 380px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-msg { max-width: 80%; padding: 13px 18px; border-radius: 16px; font-size: 0.9rem; line-height: 1.55; animation: msgIn 0.4s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px);} to { opacity:1; transform: translateY(0);} }
.chat-msg.bot { background: rgba(26,38,64,0.8); border: 1px solid var(--border-faint); border-bottom-left-radius: 4px; align-self: flex-start; color: var(--text-sec); }
.chat-msg.user { background: var(--grad-brand); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-msg.typing { display: flex; gap: 4px; align-items: center; padding: 16px 18px; }
.chat-msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-mut); animation: typing 1.2s infinite; }
.chat-msg.typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-msg.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%,60%,100% { transform: translateY(0); opacity: 0.4;} 30% { transform: translateY(-6px); opacity: 1;} }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 24px 16px; }
.chip {
  padding: 8px 14px; background: rgba(240,84,36,0.1); border: 1px solid var(--border-soft);
  border-radius: 100px; font-size: 0.78rem; color: var(--text-sec);
  transition: all 0.3s var(--ease);
}
.chip:hover { background: var(--grad-brand); color: #fff; border-color: transparent; transform: translateY(-2px); }
.chat-input-area { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 20px 20px; border-top: 1px solid var(--border-faint); }
.chat-input-area input {
  order: 1; min-width: 0; flex: 1; padding: 14px 18px; background: rgba(26,38,64,0.6); border: 1px solid var(--border-soft);
  border-radius: 100px; color: var(--text-pri); font-size: 1rem; outline: none; transition: border 0.3s;
}
.chat-input-area input:focus { border-color: var(--c-orange); }
.chat-input-area input::placeholder { color: var(--text-dim); }
.chat-input-area input[aria-invalid="true"] { border-color: var(--c-red); }
.chat-error { order: 3; flex: 0 0 100%; min-height: 1.2em; margin: 0; color: #ff9a8c; font-size: 0.78rem; line-height: 1.4; }
.chat-send {
  order: 2; width: 48px; height: 48px; border-radius: 50%; background: var(--grad-brand); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all 0.3s var(--ease); box-shadow: var(--glow-orange);
}
.chat-send:hover { transform: scale(1.1) rotate(-15deg); }
.chat-send:disabled, .chip:disabled { opacity: 0.55; cursor: wait; transform: none; }

/* ============ CTA BAND ============ */
.cta-band { padding: 130px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 30% 50%, rgba(194,18,33,0.25) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(240,84,36,0.2) 0%, transparent 50%),
    linear-gradient(180deg, #0a0f1d, #1a2640, #0a0f1d);
}
.cta-inner { text-align: center; max-width: 820px; margin: 0 auto; }
.cta-title { font-family: var(--font-title); font-weight: 900; font-size: clamp(2.2rem, 5.5vw, 4.5rem); line-height: 1; letter-spacing: -0.02em; color: var(--text-pri); margin-bottom: 24px; }
.cta-sub { font-size: 1.15rem; color: var(--text-sec); margin-bottom: 40px; }

/* ============ CONTACTO ============ */
.contact-section { background: rgba(10, 15, 29, 0.4); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.contact-lead { margin: 22px 0 36px; font-size: 1.05rem; color: var(--text-mut); max-width: 480px; line-height: 1.7; }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  background: var(--bg-card); border: 1px solid var(--border-faint); border-radius: var(--r-md);
  transition: all 0.3s var(--ease);
}
.contact-item:hover { border-color: var(--border-active); transform: translateX(6px); }
.contact-ico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(240,84,36,0.12); display: flex; align-items: center; justify-content: center;
  color: var(--c-orange);
}
.contact-ico svg { width: 20px; height: 20px; }
.contact-item span:last-child { font-size: 0.95rem; color: var(--text-sec); line-height: 1.5; }
.contact-item strong { display: block; font-family: var(--font-title); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-mut); margin-bottom: 2px; }

.contact-form { background: var(--bg-card); border: 1px solid var(--border-faint); border-radius: var(--r-lg); padding: 34px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-family: var(--font-title); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mut); margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 14px 16px; background: rgba(10,15,29,0.6); border: 1px solid var(--border-soft);
  border-radius: var(--r-sm); color: var(--text-pri); font-size: 1rem; outline: none; transition: all 0.3s var(--ease); resize: vertical;
}
.form-field select { cursor: none; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--c-orange); background: rgba(26,38,64,0.6); }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"], .form-field select[aria-invalid="true"] { border-color: var(--c-red); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-dim); }
.form-feedback { margin-top: 16px; text-align: center; font-size: 0.9rem; font-weight: 600; min-height: 24px; }
.form-feedback.success { color: #4ade80; }
.form-feedback.error { color: var(--c-red); }
.form-privacy { margin-top: 12px; color: var(--text-dim); font-size: 0.72rem; line-height: 1.5; }

.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 800; display: inline-flex; align-items: center;
  min-height: 48px; padding: 0 18px; border-radius: 6px; background: #25d366; color: #07140b;
  font-size: 0.78rem; font-weight: 900; text-transform: uppercase; box-shadow: 0 12px 34px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(37,211,102,0.25); }

/* ============ FOOTER ============ */
.footer { position: relative; padding: 90px 0 40px; overflow: hidden; }
.footer-bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #0a0f1d 0%, #060912 100%);
}
.footer-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(240,84,36,0.04) 1px, transparent 1px);
  background-size: 100% 80px;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid var(--border-faint); }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo svg { width: 36px; height: 36px; }
.footer-logo span { font-family: var(--font-title); font-weight: 900; font-size: 1.4rem; letter-spacing: 0.18em; color: var(--text-pri); }
.footer-brand p { font-size: 0.9rem; color: var(--text-mut); line-height: 1.7; max-width: 360px; }
.footer-col h5 { font-family: var(--font-title); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-pri); margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: 0.88rem; color: var(--text-mut); padding: 5px 0; transition: color 0.3s; }
.footer-col a:hover { color: var(--c-orange); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; font-size: 0.78rem; color: var(--text-dim); flex-wrap: wrap; }

/* ============ MULTI-PAGE SERVICES ============ */
.logo-img { width: auto; height: 50px; filter: drop-shadow(0 0 10px rgba(194,18,33,0.4)); }
.footer-logo img { width: auto; height: 40px; margin-right: 0.8rem; filter: drop-shadow(0 0 5px rgba(194,18,33,0.4)); }

.service-paths-section { background: rgba(10,15,29,0.5); }
.service-paths-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-path { position: relative; min-height: 440px; overflow: hidden; border: 1px solid var(--border-faint); border-radius: var(--r-sm); background: var(--bg-card); }
.service-path::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,15,29,0.05) 25%, rgba(10,15,29,0.95) 100%); }
.service-path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.7s var(--ease); filter: saturate(0.72) contrast(1.08); }
.service-path:hover img { transform: scale(1.06); filter: saturate(1) contrast(1.08); }
.service-path-index { position: absolute; z-index: 2; top: 22px; left: 22px; font-family: var(--font-title); font-weight: 900; color: var(--c-orange); letter-spacing: 0.1em; }
.service-path-content { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 26px; }
.service-path-content p { margin-bottom: 8px; color: var(--text-sec); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.service-path-content h3 { color: var(--text-pri); font-family: var(--font-title); font-size: 1.8rem; line-height: 1.05; margin-bottom: 18px; }
.service-path-content span { color: var(--c-orange); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }

.service-page main { overflow: hidden; }
.service-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; padding: 170px 0 90px; }
.service-hero-media, .service-hero-overlay { position: absolute; inset: 0; }
.service-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78) contrast(1.12) brightness(0.68); animation: materialSettle 1.1s var(--ease-out) 0.12s both; transform-origin: center center; }
.service-hero-overlay { background: linear-gradient(90deg, rgba(7,11,23,0.92) 0%, rgba(7,11,23,0.60) 52%, rgba(7,11,23,0.14) 100%), linear-gradient(0deg, var(--bg-deep) 0%, transparent 28%); }
.web-page .service-hero-media img { filter: saturate(0.72) contrast(1.08) brightness(0.62); }
.web-page .service-hero-overlay { background: linear-gradient(90deg, rgba(7,11,23,0.94) 0%, rgba(7,11,23,0.68) 52%, rgba(7,11,23,0.24) 100%), linear-gradient(0deg, var(--bg-deep) 0%, transparent 32%); }
.ai-business-page .service-hero-media img { filter: saturate(0.88) contrast(1.08) brightness(0.75); }
.ai-business-page .service-hero-overlay { background: linear-gradient(90deg, rgba(7,11,23,0.86) 0%, rgba(7,11,23,0.52) 55%, rgba(7,11,23,0.16) 100%), linear-gradient(0deg, var(--bg-deep) 0%, transparent 32%); }
.ai-business-page .ia-bg-img { filter: saturate(0.9) contrast(1.08) brightness(0.5); }
.service-hero-content { position: relative; z-index: 1; }
.service-hero h1 { max-width: 900px; margin: 20px 0 24px; font-family: var(--font-title); font-size: clamp(3.2rem, 7vw, 6.7rem); line-height: 0.94; font-weight: 900; color: var(--text-pri); letter-spacing: 0; }
.service-hero-content > p { max-width: 710px; color: var(--text-sec); font-size: 1.12rem; line-height: 1.7; }
.service-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.service-proof-strip { border-top: 1px solid var(--border-faint); border-bottom: 1px solid var(--border-faint); background: rgba(18,26,48,0.62); }
.service-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-proof-grid > div { min-height: 118px; padding: 25px 28px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--border-faint); }
.service-proof-grid > div:last-child { border-right: 0; }
.service-proof-grid strong { color: var(--text-pri); font-family: var(--font-title); font-size: 1rem; }
.service-proof-grid span { color: var(--text-mut); font-size: 0.8rem; margin-top: 4px; }
.service-page .cur-card-body h3 { color: var(--text-pri); font-family: var(--font-title); font-size: 1.15rem; margin-bottom: 8px; }

.technique-gallery-section { background: rgba(18,26,48,0.32); }
.technique-selector { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 38px 0 18px; }
.technique-option { display: flex; align-items: center; min-height: 96px; gap: 14px; padding: 16px; border: 1px solid var(--border-soft); border-radius: var(--r-sm); background: rgba(10,15,29,0.42); color: var(--text-mut); text-align: left; transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease); }
.technique-option:hover { border-color: rgba(240,84,36,0.6); color: var(--text-pri); transform: translateY(-2px); }
.technique-option.active { border-color: var(--c-orange); background: linear-gradient(135deg, rgba(240,84,36,0.18), rgba(18,26,48,0.86)); color: var(--text-pri); }
.technique-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid var(--border-soft); border-radius: 50%; color: var(--c-orange); background: rgba(240,84,36,0.09); }
.technique-option.active .technique-icon { border-color: rgba(240,84,36,0.75); background: rgba(240,84,36,0.2); }
.technique-icon svg { width: 21px; height: 21px; }
.technique-option > span:last-child { display: grid; gap: 5px; min-width: 0; }
.technique-option strong { color: currentColor; font-family: var(--font-title); font-size: 0.98rem; line-height: 1; text-transform: uppercase; }
.technique-option small { color: var(--text-mut); font-size: 0.72rem; line-height: 1.3; }
.technique-detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(210px, 0.75fr) auto; align-items: end; gap: 34px; padding: 34px; border: 1px solid var(--border-soft); border-top: 2px solid var(--c-orange); border-radius: var(--r-sm); background: rgba(10,15,29,0.55); }
.technique-detail[hidden] { display: none !important; }
.technique-detail h3 { margin: 14px 0 10px; color: var(--text-pri); font-family: var(--font-title); font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.05; }
.technique-detail p { max-width: 630px; color: var(--text-mut); line-height: 1.65; }
.technique-detail ul { display: grid; gap: 10px; list-style: none; }
.technique-detail li { position: relative; padding-left: 17px; color: var(--text-sec); font-size: 0.84rem; line-height: 1.4; }
.technique-detail li::before { content: ''; position: absolute; top: 0.5em; left: 0; width: 6px; height: 6px; background: var(--c-orange); }
.technique-detail .card-quote { align-self: end; white-space: nowrap; }
.technique-gallery-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin: 42px 0 18px; }
.technique-gallery-heading span { color: var(--text-pri); font-family: var(--font-title); font-size: 0.8rem; font-weight: 900; letter-spacing: 0.12em; }
.technique-gallery-heading p { color: var(--text-mut); font-size: 0.86rem; }
.gallery-carousel-meta { margin: 0 0 12px; color: var(--text-mut); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.gallery-carousel-meta #galleryTotal { color: var(--text-pri); font-family: var(--font-title); font-size: 0.9rem; }
.gallery-swiper { position: relative; overflow: hidden; padding: 2px 56px 42px; }
.gallery-carousel-button { position: absolute; z-index: 3; top: calc(50% - 20px); display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--border-soft); border-radius: 50%; color: var(--text-pri); background: rgba(10,15,29,0.88); box-shadow: 0 8px 22px rgba(0,0,0,0.2); font-size: 1.2rem; transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.gallery-carousel-previous { left: 2px; }
.gallery-carousel-next { right: 2px; }
.gallery-carousel-button:hover:not(:disabled) { border-color: var(--c-orange); color: var(--c-orange); background: rgba(240,84,36,0.12); }
.gallery-carousel-button:disabled { cursor: default; opacity: 0.3; }
.personalization-gallery-grid { display: flex; padding: 2px; }
.gallery-swiper .gallery-item { position: relative; flex-basis: auto; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--border-faint); border-radius: var(--r-sm); text-align: left; }
.gallery-item[hidden] { display: none; }
.gallery-item::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(7,11,23,0.94)); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease), filter 0.55s var(--ease); }
.gallery-item:hover img { transform: scale(1.055); filter: saturate(1.08); }
.gallery-item > span { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.gallery-item strong { color: var(--text-pri); font-family: var(--font-title); font-size: 1rem; text-transform: uppercase; }
.gallery-item small { color: var(--text-sec); font-size: 0.72rem; }
.gallery-carousel-pagination { position: absolute; z-index: 2; bottom: 4px !important; left: 50% !important; display: flex; width: auto !important; transform: translateX(-50%); }
.gallery-carousel-pagination .swiper-pagination-bullet { width: 7px; height: 7px; margin: 0 4px !important; background: rgba(255,255,255,0.35); opacity: 1; transition: width 0.25s var(--ease), background 0.25s var(--ease); }
.gallery-carousel-pagination .swiper-pagination-bullet-active { width: 24px; border-radius: 8px; background: var(--c-orange); }
.pswp { --pswp-bg: rgba(4,7,15,0.96); --pswp-icon-color: #fff; --pswp-icon-color-secondary: rgba(255,255,255,0.48); --pswp-icon-stroke-color: rgba(0,0,0,0.3); }

.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ai-business-page .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.solution-card { min-height: 330px; padding: 34px; border-top: 2px solid var(--c-orange); background: rgba(18,26,48,0.7); border-radius: var(--r-sm); }
.solution-index { display: block; margin-bottom: 36px; color: var(--c-orange); font-family: var(--font-title); font-weight: 900; font-size: 0.8rem; letter-spacing: 0.12em; }
.solution-card h3 { color: var(--text-pri); font-family: var(--font-title); font-size: 1.35rem; margin-bottom: 12px; }
.solution-card p { color: var(--text-mut); line-height: 1.65; }
.solution-card ul { list-style: none; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border-faint); }
.solution-card li { position: relative; padding: 6px 0 6px 18px; color: var(--text-sec); font-size: 0.84rem; }
.solution-card li::before { content: ''; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; background: var(--c-orange); }

.ai-route-section { background: rgba(10,15,29,0.38); }
.ai-route { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 42px; }
.ai-route::before { content: ''; position: absolute; top: 54px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, rgba(240,84,36,0.15), rgba(240,84,36,0.8), rgba(240,84,36,0.15)); }
.ai-route-step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 13px; min-height: 168px; padding: 14px 16px; color: var(--text-mut); text-align: center; }
.ai-route-step::after { content: ''; position: absolute; top: 46px; width: 17px; height: 17px; border: 1px solid var(--border-soft); border-radius: 50%; background: var(--bg-deep); transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.ai-route-step:hover, .ai-route-step.active { color: var(--text-pri); }
.ai-route-step:hover::after, .ai-route-step.active::after { border-color: var(--c-orange); background: var(--c-orange); box-shadow: 0 0 0 7px rgba(240,84,36,0.12); transform: scale(1.08); }
.ai-route-index { align-self: start; color: var(--c-orange); font-family: var(--font-title); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.12em; }
.ai-route-icon { display: grid; width: 68px; height: 68px; place-items: center; margin-top: 14px; border: 1px solid var(--border-soft); border-radius: 50%; color: var(--text-sec); background: rgba(18,26,48,0.72); transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease); }
.ai-route-icon svg { width: 28px; height: 28px; }
.ai-route-step:hover .ai-route-icon, .ai-route-step.active .ai-route-icon { border-color: rgba(240,84,36,0.8); color: var(--c-orange); background: rgba(240,84,36,0.12); transform: translateY(-3px); }
.ai-route-step > span:last-child { display: grid; gap: 6px; }
.ai-route-step strong { color: currentColor; font-family: var(--font-title); font-size: 1rem; line-height: 1.1; }
.ai-route-step small { color: var(--text-mut); font-size: 0.76rem; line-height: 1.35; }
.ai-route-detail { margin-top: 12px; }
.ai-route-panel { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(200px, 0.7fr) auto; align-items: end; gap: 32px; min-height: 232px; padding: 34px; border: 1px solid var(--border-soft); border-top: 2px solid var(--c-orange); border-radius: var(--r-sm); background: linear-gradient(115deg, rgba(18,26,48,0.88), rgba(10,15,29,0.78)); }
.ai-route-panel[hidden] { display: none; }
.ai-route-panel h3 { margin: 14px 0 10px; color: var(--text-pri); font-family: var(--font-title); font-size: clamp(1.6rem, 2.6vw, 2.35rem); line-height: 1.05; }
.ai-route-panel p { max-width: 650px; color: var(--text-mut); line-height: 1.65; }
.ai-route-outcome { display: grid; gap: 10px; padding: 18px; border-left: 1px solid var(--border-soft); }
.ai-route-outcome span { color: var(--c-orange); font-family: var(--font-title); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.12em; }
.ai-route-outcome strong { color: var(--text-sec); font-size: 0.92rem; line-height: 1.45; }
.ai-route-panel .card-quote { align-self: end; white-space: nowrap; }

.ai-cycle-section { position: relative; overflow: hidden; background: rgba(10,15,29,0.5); }
.ai-cycle-section .section-subtitle { max-width: 680px; }
.ai-cycle { position: relative; width: min(700px, 100%); height: 580px; margin: 42px auto 0; }
.ai-cycle::before, .ai-cycle::after { content: ''; position: absolute; top: 50%; left: 50%; border-radius: 50%; pointer-events: none; }
.ai-cycle::before, .ai-cycle::after { top: 47%; }
.ai-cycle::before { width: 372px; height: 372px; background: conic-gradient(from -44deg, transparent 0deg 72deg, rgba(255,79,29,0.96) 82deg 96deg, transparent 106deg 360deg); transform: translate(-50%, -50%); -webkit-mask: radial-gradient(transparent 0 59%, #000 60% 61%, transparent 62%); mask: radial-gradient(transparent 0 59%, #000 60% 61%, transparent 62%); animation: aiCycleOrbit 11s linear infinite; }
.ai-cycle::after { width: 300px; height: 300px; border: 1px solid rgba(255,255,255,0.12); transform: translate(-50%, -50%); }
.ai-cycle-core { position: absolute; z-index: 2; top: 47%; left: 50%; display: grid; width: 180px; height: 180px; padding: 28px; place-content: center; gap: 10px; transform: translate(-50%, -50%); border: 1px solid rgba(255,79,29,0.62); border-radius: 50%; background: radial-gradient(circle at 35% 25%, rgba(255,79,29,0.23), rgba(17,25,46,0.98) 64%); box-shadow: 0 0 46px rgba(255,79,29,0.12); text-align: center; animation: aiCycleCorePulse 4.5s ease-in-out infinite; }
.ai-cycle-core span, .ai-cycle-outcome span { color: var(--c-orange); font-family: var(--font-title); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.13em; }
.ai-cycle-core strong { color: var(--text-pri); font-family: var(--font-title); font-size: 1rem; line-height: 1.2; }
.ai-cycle-step { position: absolute; z-index: 3; display: grid; width: 112px; height: 112px; place-items: center; padding: 0; border: 1px solid var(--border-soft); border-radius: 50%; background: rgba(14,21,40,0.92); color: var(--text-sec); cursor: pointer; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.ai-cycle-step:hover, .ai-cycle-step.active { border-color: rgba(255,79,29,0.9); background: rgba(32,28,46,0.98); box-shadow: 0 0 0 7px rgba(255,79,29,0.1), 0 12px 30px rgba(0,0,0,0.28); }
.ai-cycle-step.active::before { content: ''; position: absolute; inset: -10px; border: 1px solid rgba(255,79,29,0.48); border-radius: 50%; animation: aiCycleNodePulse 2.4s ease-out infinite; }
.ai-cycle-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,79,29,0.42); border-radius: 50%; background: rgba(255,79,29,0.08); color: var(--c-orange); transition: transform var(--dur) var(--ease), background var(--dur) var(--ease); }
.ai-cycle-step:hover .ai-cycle-icon, .ai-cycle-step.active .ai-cycle-icon { transform: scale(1.07); background: rgba(255,79,29,0.16); }
.ai-cycle-icon svg { width: 22px; height: 22px; }
.ai-cycle-step > span:last-child { position: absolute; top: calc(100% + 12px); left: 50%; display: grid; width: 168px; gap: 3px; transform: translateX(-50%); text-align: center; pointer-events: none; }
.ai-cycle-step b { color: var(--c-orange); font-family: var(--font-title); font-size: 0.65rem; letter-spacing: 0.1em; }
.ai-cycle-step strong { color: var(--text-pri); font-family: var(--font-title); font-size: 1rem; }
.ai-cycle-step small { display: none; }
.ai-cycle-step[data-ai-cycle="understand"] { top: 0; left: 50%; transform: translateX(-50%); }
.ai-cycle-step[data-ai-cycle="design"] { top: 50%; right: 16px; transform: translateY(-50%); }
.ai-cycle-step[data-ai-cycle="test"] { bottom: 0; left: 50%; transform: translateX(-50%); }
.ai-cycle-step[data-ai-cycle="improve"] { top: 50%; left: 16px; transform: translateY(-50%); }
.ai-cycle-step[data-ai-cycle="understand"].active, .ai-cycle-step[data-ai-cycle="test"].active { transform: translateX(-50%) scale(1.06); }
.ai-cycle-step[data-ai-cycle="design"].active, .ai-cycle-step[data-ai-cycle="improve"].active { transform: translateY(-50%) scale(1.06); }
.ai-cycle.is-orbiting .ai-cycle-step { top: 0; right: auto; bottom: auto; left: 0; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.ai-cycle.is-orbiting.is-docked .ai-cycle-step { transition: transform 0.72s var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.ai-cycle-detail { margin-top: 30px; }
.ai-cycle-panel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr); align-items: center; gap: 42px; min-height: 198px; padding: 34px; border: 1px solid var(--border-soft); border-top: 2px solid var(--c-orange); border-radius: var(--r-sm); background: linear-gradient(115deg, rgba(18,26,48,0.88), rgba(10,15,29,0.78)); }
.ai-cycle-panel[hidden] { display: none; }
.ai-cycle-panel h3 { margin: 14px 0 10px; color: var(--text-pri); font-family: var(--font-title); font-size: clamp(1.55rem, 2.5vw, 2.25rem); line-height: 1.08; }
.ai-cycle-panel p { max-width: 650px; color: var(--text-mut); line-height: 1.65; }
.ai-cycle-outcome { display: grid; gap: 10px; padding: 18px; border-left: 1px solid var(--border-soft); }
.ai-cycle-outcome strong { color: var(--text-sec); font-size: 0.95rem; line-height: 1.5; }
@keyframes aiCycleOrbit { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes aiCycleCorePulse { 0%, 100% { box-shadow: 0 0 36px rgba(255,79,29,0.1); } 50% { box-shadow: 0 0 65px rgba(255,79,29,0.25); } }
@keyframes aiCycleNodePulse { 0% { opacity: 0.9; transform: scale(0.9); } 80%, 100% { opacity: 0; transform: scale(1.2); } }

.web-process-section { background: rgba(10,15,29,0.5); }
.linear-process { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.linear-process > div { min-height: 220px; padding: 30px 24px; border-right: 1px solid var(--border-faint); }
.linear-process > div:last-child { border-right: 0; }
.linear-process span { color: var(--c-orange); font-family: var(--font-title); font-weight: 900; font-size: 0.8rem; }
.linear-process h3 { margin: 52px 0 8px; color: var(--text-pri); font-family: var(--font-title); font-size: 1.15rem; }
.linear-process p { color: var(--text-mut); font-size: 0.86rem; }
.web-page .linear-process.reveal.active > div { animation: webProcessStepIn 0.5s var(--ease) both; }
.web-page .linear-process.reveal.active > div:nth-child(1) { animation-delay: 0.05s; }
.web-page .linear-process.reveal.active > div:nth-child(2) { animation-delay: 0.13s; }
.web-page .linear-process.reveal.active > div:nth-child(3) { animation-delay: 0.21s; }
.web-page .linear-process.reveal.active > div:nth-child(4) { animation-delay: 0.29s; }
@keyframes webProcessStepIn {
  from { opacity: 0.2; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.split-feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 70px; }
.split-feature-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-sm); }
.split-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.split-feature-content h2 { margin: 20px 0 18px; color: var(--text-pri); font-family: var(--font-title); font-size: 2.4rem; line-height: 1.05; }
.split-feature-content > p { color: var(--text-mut); line-height: 1.7; }
.check-list { list-style: none; margin-top: 26px; }
.check-list li { padding: 12px 0; border-bottom: 1px solid var(--border-faint); color: var(--text-sec); }
.check-list li::before { content: '\2713'; margin-right: 12px; color: var(--c-orange); font-weight: 900; }
.ai-demo-section { min-height: 0; padding-top: 90px; padding-bottom: 110px; }
.chat-bot-avatar img { width: 100%; height: 100%; object-fit: contain; }

.service-cta { padding-top: 70px; padding-bottom: 70px; }
.service-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 46px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.service-cta-inner > div { max-width: 760px; }
.service-cta h2 { margin: 14px 0 8px; color: var(--text-pri); font-family: var(--font-title); font-size: 2.5rem; line-height: 1.05; }
.service-cta p { color: var(--text-mut); line-height: 1.7; }
.compact-footer .footer-top { grid-template-columns: 2fr 1fr 1fr; }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ============ PARALLAX ============ */
.parallax { will-change: transform; }

/* ============ MAGNETIC ============ */
.magnetic { transition: transform 0.3s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  .hero-bg-img, .service-hero-media img { animation: none; }
  .web-page .linear-process.reveal.active > div { animation: none; }
  .ai-cycle::before, .ai-cycle-core, .ai-cycle-step.active::before { animation: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1180px) {
  .nav-container { gap: 12px; }
  .nav-link { padding: 9px 10px; font-size: 0.7rem; }
  .btn-nav-cta { display: none; }
}
@media (max-width: 1080px) {
  .language-toggle { margin-left: auto; }
  .client-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .curriculum-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .hero-bottom-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-cta { justify-content: flex-start; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .ia-grid { grid-template-columns: 1fr; gap: 50px; }
  .service-paths-grid, .personalization-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-swiper .gallery-item { flex-basis: auto; }
  .technique-selector { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .technique-detail { grid-template-columns: minmax(0, 1fr) minmax(210px, 0.65fr); }
  .technique-detail .card-quote { grid-column: 1 / -1; }
  .service-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: 1fr; }
  .ai-business-page .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-route-panel { grid-template-columns: minmax(0, 1fr) minmax(190px, 0.7fr); }
  .ai-route-panel .card-quote { grid-column: 1 / -1; }
  .ai-cycle { width: min(630px, 100%); }
  .split-feature { grid-template-columns: 1fr; gap: 38px; }
}
@media (max-width: 820px) {
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 360px; height: 100dvh; min-height: 100vh;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px;
    background: rgba(19,14,20,0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: max(40px, env(safe-area-inset-top)) 40px max(40px, env(safe-area-inset-bottom)); border-radius: 0; border-left: 1px solid rgba(194,18,33,0.34);
    transition: right 0.5s var(--ease);
  }
  .nav-menu.active { right: 0; }
  .nav-link { font-size: 1rem; padding: 12px 20px; }
  .btn-nav-cta { display: none; }
  .language-toggle { margin-left: auto; }
  .menu-toggle { display: flex; z-index: 1001; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-hero { min-height: 720px; padding: 150px 0 72px; }
  .service-hero h1 { font-size: clamp(3rem, 12vw, 5.4rem); }
  .linear-process { grid-template-columns: repeat(2, 1fr); }
  .linear-process > div:nth-child(2) { border-right: 0; }
  .linear-process > div { border-bottom: 1px solid var(--border-faint); }
  .service-cta-inner { align-items: flex-start; flex-direction: column; }
  .compact-footer .footer-top { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
  .team-process { flex-direction: column; gap: 16px; }
  .process-arrow { transform: rotate(90deg); }
  .curriculum-tabs { flex-direction: column; }
  .tab-btn { min-width: 0; }
  .client-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-header { align-items: flex-start; flex-direction: column; }
  .testimonials-header p { text-align: left; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .clients-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 540px) {
  .hero-title { font-size: clamp(1.9rem, 9vw, 3.2rem); }
  .trust-strip-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { min-height: 96px; padding: 18px 14px; border-bottom: 1px solid var(--border-faint); }
  .whatsapp-float { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); min-height: 46px; padding: 0 14px; }
  .curriculum-cards { grid-template-columns: 1fr; }
  .service-paths-grid, .personalization-gallery-grid, .ai-business-page .solution-grid, .technique-selector { grid-template-columns: 1fr; }
  .service-path { min-height: 390px; }
  .service-proof-grid { grid-template-columns: 1fr 1fr; }
  .service-proof-grid > div { padding: 20px 16px; min-height: 104px; }
  .gallery-swiper { padding-inline: 44px; }
  .gallery-swiper .gallery-item { flex-basis: auto; aspect-ratio: 4 / 3; }
  .gallery-carousel-button { width: 36px; height: 36px; }
  .ai-route { grid-template-columns: 1fr; gap: 0; margin-top: 30px; }
  .ai-route::before { top: 52px; bottom: 52px; left: 35px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, rgba(240,84,36,0.15), rgba(240,84,36,0.8), rgba(240,84,36,0.15)); }
  .ai-route-step { grid-template-columns: 58px 1fr; justify-items: start; min-height: 94px; gap: 14px; padding: 12px 0 12px 2px; text-align: left; }
  .ai-route-step::after { top: 44px; left: 27px; width: 15px; height: 15px; }
  .ai-route-index { grid-column: 1; grid-row: 1; }
  .ai-route-icon { grid-column: 1; grid-row: 1 / span 2; width: 58px; height: 58px; margin-top: 20px; }
  .ai-route-step > span:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .ai-route-panel { grid-template-columns: 1fr; gap: 24px; min-height: auto; padding: 26px 22px; }
  .ai-route-outcome { padding: 16px 0 0; border-top: 1px solid var(--border-soft); border-left: 0; }
  .ai-route-panel .card-quote { grid-column: auto; white-space: normal; }
  .technique-detail { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; }
  .technique-detail .card-quote { grid-column: auto; }
  .technique-gallery-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 34px; }
  .linear-process { grid-template-columns: 1fr; }
  .linear-process > div, .linear-process > div:nth-child(2) { min-height: 170px; border-right: 0; }
  .linear-process h3 { margin-top: 26px; }
  .ai-cycle { display: grid; width: 100%; height: auto; gap: 12px; margin-top: 26px; }
  .ai-cycle::before, .ai-cycle::after { display: none; }
  .ai-cycle-core { position: relative; inset: auto; width: 100%; height: auto; min-height: 112px; padding: 22px; transform: none; border-radius: var(--r-sm); }
  .ai-cycle-step, .ai-cycle-step[data-ai-cycle="understand"], .ai-cycle-step[data-ai-cycle="design"], .ai-cycle-step[data-ai-cycle="test"], .ai-cycle-step[data-ai-cycle="improve"], .ai-cycle-step[data-ai-cycle="understand"].active, .ai-cycle-step[data-ai-cycle="test"].active, .ai-cycle-step[data-ai-cycle="design"].active, .ai-cycle-step[data-ai-cycle="improve"].active { position: relative; inset: auto; width: 100%; height: auto; min-height: 76px; grid-template-columns: 48px 1fr; justify-items: start; padding: 12px 16px; border-radius: var(--r-sm); transform: none; }
  .ai-cycle-step > span:last-child { position: static; width: auto; transform: none; text-align: left; pointer-events: auto; }
  .ai-cycle-step small { display: block; }
  .ai-cycle-panel { grid-template-columns: 1fr; gap: 22px; min-height: auto; padding: 26px 22px; }
  .ai-cycle-outcome { padding: 16px 0 0; border-top: 1px solid var(--border-soft); border-left: 0; }
  .service-cta h2, .split-feature-content h2 { font-size: 2rem; }
  .compact-footer .footer-top { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .ia-stat-row { flex-wrap: wrap; gap: 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 60px; }
  .marquee-item { font-size: 1.1rem; }
}
@media (max-width: 360px) {
  .logo-img { height: 44px; }
  .logo-text { font-size: 1.25rem; }
  .nav-container { gap: 8px; }
  .language-toggle { min-width: 62px; padding-inline: 8px; }
  .service-hero { min-height: 760px; padding-top: 138px; }
  .service-hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .service-hero-content > p { font-size: 1rem; }
  .service-hero-actions { gap: 10px; }
  .btn-primary, .btn-ghost { width: 100%; padding-inline: 18px; }
  .service-proof-grid > div { padding-inline: 12px; }
  .gallery-filter { padding-inline: 14px; }
}
