/* ========================================
   ANALYTIC DEV — CSS PRINCIPAL
   Inspirado en anfalova.art
   ======================================== */

:root {
  color-scheme: dark;
  --bg:        #0a0a0a;
  --bg-2:      #111111;
  --bg-card:   #161618;
  --text:      #f2f2f4;
  --muted:     #b5b5bb;
  --dim:       #b5b5bb;
  --accent:    #ff3c00;
  --accent2:   #ff5a2c;
  --accent-on-light: #b12f00;
  --line:      rgba(255,255,255,0.08);
  --line-md:   rgba(255,255,255,0.14);
  --line-str:  rgba(255,255,255,0.22);
  --green:     #2fd767;
  --ff-display: "Inter Tight", system-ui, -apple-system, sans-serif;
  --ff-serif:   "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ff-mono:    ui-monospace, "SF Mono", Consolas, monospace;
  --max-w: 1340px;
  --pad-x: clamp(24px, 5vw, 72px);
  --section-gap: clamp(96px, 10vw, 160px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

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

a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #000; }

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute;
  top: -120px;
  left: 20px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  font: 700 13px/1 var(--ff-display);
  border-radius: 999px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 20px; outline: 3px solid #fff; outline-offset: 2px; }

/* ---- CUSTOM CURSOR ---- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9000;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  margin: -3px 0 0 -3px;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255,60,0,0.5);
  margin: -18px 0 0 -18px;
  transition: opacity 0.3s ease, width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.2s ease;
}
.cursor-hover .cursor-ring {
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  border-color: var(--accent);
}
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none !important; } }

/* ---- SCROLL-TO-TOP ---- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-md);
  background: rgba(10,10,10,0.9);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease), border-color 0.25s ease;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}
.scroll-top:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font: 600 14px/1 var(--ff-display);
  letter-spacing: 0.02em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--text);
  color: #000;
  border: 1px solid var(--text);
}
.btn-primary:hover {
  background: #fff;
  box-shadow: 0 8px 32px rgba(255,255,255,0.18);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--line-md);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--line-str);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ==============================
   PRELOADER
   ============================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.done { opacity: 0; visibility: hidden; }

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.preloader-inner img {
  width: 40px; height: 40px;
  filter: invert(1);
  animation: pre-pulse 1.4s ease-in-out infinite;
}
.preloader-bar {
  width: 100px;
  height: 1px;
  background: var(--line-md);
  overflow: hidden;
}
.preloader-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.08s linear;
}
.preloader-count {
  font: 600 11px/1 var(--ff-mono);
  color: var(--muted);
  letter-spacing: 0.1em;
}
@keyframes pre-pulse { 50% { opacity: 0.5; transform: scale(0.9); } }

/* ==============================
   HEADER
   ============================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
}

.nav-wrap {
  max-width: none;
  padding: 0 var(--pad-x);
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img { filter: invert(1); width: 28px; height: 28px; }
.brand-name {
  font: 700 16px/1 var(--ff-display);
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand-badge {
  font: 600 8px/1 var(--ff-mono);
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid rgba(255,60,0,0.4);
  border-radius: 999px;
  padding: 4px 7px;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}
.nav-link {
  font: 400 14px/1 var(--ff-display);
  color: var(--muted);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-link[aria-current="page"] { color: var(--text); }
.nav-link[aria-current="page"]::after { width: 100%; }

.cta-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--text);
  color: #000;
  font: 600 13px/1 var(--ff-display);
  margin-left: 8px;
  transition: background 0.25s ease, transform 0.25s var(--ease);
  flex-shrink: 0;
}
.cta-pill:hover { background: #fff; transform: translateY(-1px); }

/* Hamburger */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line-md);
  border-radius: 8px;
  margin-left: auto;
}
.hamburger-line {
  width: 18px; height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
  display: block;
}
.menu-toggle[aria-expanded="true"] .hamburger-line:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .hamburger-line:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0;
  z-index: 99;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(24px);
  padding: 40px var(--pad-x) 60px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-inner { display: flex; flex-direction: column; }
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font: 600 clamp(28px, 7vw, 42px)/1.1 var(--ff-display);
  letter-spacing: -0.025em;
}
.mobile-menu a span {
  font: 11px var(--ff-mono);
  color: var(--accent);
  letter-spacing: 0.08em;
}
.mobile-menu-footer {
  margin-top: 40px;
}
.mobile-menu-footer a {
  display: inline-block;
  font: 13px var(--ff-mono);
  color: var(--muted);
}

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 140px var(--pad-x) 100px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg-noise {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 55% 55% at 85% 15%, rgba(255,60,0,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 35% 55% at 8% 85%, rgba(255,60,0,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 50% 30% at 50% 50%, rgba(255,255,255,0.01) 0%, transparent 100%);
  pointer-events: none;
}

.hero-status {
  position: absolute;
  top: 92px;
  left: var(--pad-x);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-md);
  border-radius: 999px;
  font: 500 10px/1 var(--ff-mono);
  letter-spacing: 0.1em;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  text-transform: uppercase;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  flex-shrink: 0;
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

.hero-content {
  max-width: 1100px;
  margin-bottom: 72px;
}
.hero-title {
  font: 900 clamp(48px, 7.2vw, 112px)/0.95 var(--ff-display);
  letter-spacing: -0.045em;
  margin-bottom: 28px;
  color: var(--text);
}
.hero-title em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero-title strong {
  font-weight: 900;
  color: var(--text);
}
.hero-lead {
  max-width: 640px;
  font: 400 clamp(16px, 1.4vw, 20px)/1.6 var(--ff-display);
  color: var(--muted);
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Metrics */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-top: 1px solid var(--line-md);
  padding-top: 36px;
}
.metric {
  padding: 0 24px 0 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--delay, 0s);
}
.metric.in-view { opacity: 1; transform: none; }
.metric-number {
  display: block;
  font: 800 clamp(36px, 4vw, 56px)/1 var(--ff-display);
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 8px;
}
.metric-label {
  font: 500 10px/1.4 var(--ff-mono);
  letter-spacing: 0.08em;
  color: var(--dim);
  text-transform: uppercase;
}

/* ==============================
   MARQUEE
   ============================== */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-track-reverse {
  animation: marquee-scroll-rev 24s linear infinite;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 32px;
  font: 600 12.5px/1 var(--ff-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ba0a2;
  white-space: nowrap;
}
.marquee-content .dot {
  color: var(--accent);
  font-size: 10px;
}
.marquee-reverse { background: #0d0d0f; }

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

/* ==============================
   SERVICIOS
   ============================== */
.services-section {
  padding: var(--section-gap) var(--pad-x);
  background: var(--bg);
}
.section-wrap {
  max-width: var(--max-w);
  margin: 0 auto 60px;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.section-number {
  font: 500 11px/1 var(--ff-mono);
  color: var(--accent);
  letter-spacing: 0.06em;
}
.section-dash {
  color: var(--dim);
  font-size: 12px;
  letter-spacing: -0.1em;
}
.section-tag {
  font: 500 10px/1 var(--ff-mono);
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.section-title {
  font: 700 clamp(36px, 5vw, 76px)/1 var(--ff-display);
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 20px;
}
.section-title em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}
.section-desc {
  max-width: 700px;
  font: 400 15px/1.7 var(--ff-display);
  color: var(--muted);
}

/* Services Grid */
.services-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.service-card {
  background: var(--bg-card);
  position: relative;
  cursor: default;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(255,60,0,0.25);
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}
.service-card:hover { background: #1a1a1e; }
.service-card:hover::after { opacity: 1; }
.service-card:focus-within { outline: 2px solid var(--accent); outline-offset: -2px; z-index: 1; }

.service-card-inner {
  padding: clamp(28px, 3vw, 44px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.service-num {
  font: 500 11px/1 var(--ff-mono);
  color: var(--dim);
  letter-spacing: 0.06em;
}
.service-tag-pill {
  font: 500 8px/1 var(--ff-mono);
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--line-md);
  border-radius: 999px;
  padding: 5px 9px;
  text-transform: uppercase;
}

.service-title {
  font: 700 clamp(20px, 2vw, 26px)/1.15 var(--ff-display);
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 14px;
  flex-grow: 1;
}
.service-desc {
  font: 400 13.5px/1.65 var(--ff-display);
  color: var(--muted);
  margin-bottom: 24px;
}
.service-tech {
  font: 400 11px/1.5 var(--ff-mono);
  color: var(--dim);
  letter-spacing: 0.04em;
  margin-top: auto;
}

.service-arrow {
  position: absolute;
  bottom: clamp(20px, 2.5vw, 32px);
  right: clamp(20px, 2.5vw, 32px);
  font-size: 18px;
  color: var(--dim);
  transition: color 0.25s ease, transform 0.25s var(--ease);
}
.service-card:hover .service-arrow {
  color: var(--accent);
  transform: translate(3px, -3px);
}

/* ==============================
   PORTAFOLIO
   ============================== */
.portfolio-section {
  padding: var(--section-gap) var(--pad-x);
  background: #0c0c0e;
}

.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.portfolio-count {
  font: 500 11px/1 var(--ff-mono);
  letter-spacing: 0.08em;
  color: var(--dim);
  text-transform: uppercase;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.portfolio-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.portfolio-card {
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  position: relative;
}
.portfolio-card--wide {
  grid-column: span 2;
}
.portfolio-card:hover .portfolio-placeholder { filter: brightness(1.08); }
.portfolio-card:hover .portfolio-img { filter: brightness(1.06); }

.portfolio-image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111114;
}
.portfolio-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.65s ease, filter 0.35s ease;
}
.portfolio-image-loop .portfolio-img {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.portfolio-image-loop .portfolio-img.is-active {
  opacity: 1;
}

/* Portfolio placeholder visual */
.portfolio-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111114;
  transition: filter 0.35s ease;
}
.portfolio-card--wide .portfolio-placeholder {
  aspect-ratio: 16 / 7;
}

.pp-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.pp-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,60,0,0.08), transparent 70%);
}

.pp-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 36px);
}
.pp-badge {
  display: inline-block;
  font: 600 9px/1 var(--ff-mono);
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid rgba(255,60,0,0.4);
  border-radius: 4px;
  padding: 5px 9px;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: fit-content;
}
.pp-title {
  font: 700 clamp(22px, 2.5vw, 36px)/1.1 var(--ff-display);
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}
.pp-body {
  font: 400 13.5px/1.6 var(--ff-display);
  color: var(--muted);
  max-width: 480px;
  margin-bottom: auto;
}
.pp-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
  font: 400 9.5px/1 var(--ff-mono);
  letter-spacing: 0.06em;
  color: var(--dim);
  text-transform: uppercase;
}
.pp-meta strong { color: var(--muted); }
.pp-plus {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-size: 20px;
  color: var(--dim);
  transition: color 0.25s ease, transform 0.25s var(--ease);
}
.portfolio-card:hover .pp-plus {
  color: var(--accent);
  transform: rotate(45deg);
}

/* Portfolio info row */
.portfolio-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px clamp(20px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
.portfolio-title {
  font: 600 clamp(16px, 1.4vw, 20px)/1.2 var(--ff-display);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}
.portfolio-tags {
  font: 400 11px/1.4 var(--ff-mono);
  color: var(--dim);
  letter-spacing: 0.04em;
}
.portfolio-year {
  font: 500 11px/1 var(--ff-mono);
  color: var(--dim);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* ==============================
   FILOSOFÍA / ABOUT
   ============================== */
.philosophy-section {
  padding: var(--section-gap) var(--pad-x);
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.philosophy-layout {
  max-width: var(--max-w);
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.philosophy-quote {
  font: 700 clamp(28px, 3.2vw, 48px)/1.1 var(--ff-display);
  letter-spacing: -0.035em;
  color: var(--text);
  border: none;
  padding: 0;
}
.philosophy-quote em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}

.philosophy-body {
  font: 400 15px/1.75 var(--ff-display);
  color: var(--muted);
  margin-bottom: 40px;
}
.philosophy-body strong { color: var(--text); font-weight: 600; }
.philosophy-body a { color: var(--accent); border-bottom: 1px solid rgba(255,60,0,0.3); transition: border-color 0.2s; }
.philosophy-body a:hover { border-color: var(--accent); }

.philosophy-pillars { display: flex; flex-direction: column; gap: 0; }
.pillar {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar-num {
  font: 600 11px/1 var(--ff-mono);
  color: var(--accent);
  padding-top: 3px;
  letter-spacing: 0.06em;
}
.pillar-content strong {
  display: block;
  font: 600 15px/1.3 var(--ff-display);
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.pillar-content p {
  font: 400 13.5px/1.65 var(--ff-display);
  color: var(--muted);
}

/* ==============================
   CONTACTO
   ============================== */
.contact-section {
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
  background: #0c0c0e;
  border-top: 1px solid var(--line);
}

.contact-layout {
  max-width: 900px;
  margin: 0 auto;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-md);
  border-radius: 999px;
  font: 500 10px/1 var(--ff-mono);
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 44px;
  text-transform: uppercase;
}

.contact-title {
  font: 700 clamp(42px, 7vw, 100px)/0.95 var(--ff-display);
  letter-spacing: -0.045em;
  color: var(--text);
  margin-bottom: 28px;
}
.contact-title em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}

.contact-body {
  font: 400 16px/1.65 var(--ff-display);
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 44px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 700 clamp(24px, 3.5vw, 48px)/1 var(--ff-display);
  letter-spacing: -0.03em;
  color: var(--text);
  transition: color 0.25s ease;
  margin-bottom: 36px;
  text-decoration: none;
}
.contact-email:hover { color: var(--accent); }

.contact-divider {
  height: 1px;
  background: var(--line-md);
  margin-bottom: 36px;
}

.contact-bottom {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.contact-verify {
  font: 400 12px/1.4 var(--ff-mono);
  color: var(--dim);
  letter-spacing: 0.04em;
}
.contact-verify a {
  color: var(--accent);
  border-bottom: 1px solid rgba(255,60,0,0.3);
  transition: border-color 0.2s ease;
}
.contact-verify a:hover { border-color: var(--accent); }

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  padding: 40px var(--pad-x) 24px;
  background: #060607;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 15px/1 var(--ff-display);
  letter-spacing: -0.01em;
  color: var(--text);
}
.footer-brand img { filter: invert(1); width: 24px; height: 24px; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.footer-links a {
  font: 400 13px/1 var(--ff-display);
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--text); }

.footer-tagline {
  font: 400 12px/1.5 var(--ff-display);
  color: var(--dim);
  margin-bottom: 20px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font: 400 11px/1 var(--ff-mono);
  color: var(--dim);
  letter-spacing: 0.04em;
}

/* ==============================
   REVEAL ANIMATIONS
   ============================== */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal-up.in-view {
  opacity: 1;
  transform: none;
}

/* Service card reveal (JS adds card-in with staggered setTimeout) */
.service-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease),
              background 0.3s var(--ease);
}
.service-card.card-in {
  opacity: 1;
  transform: none;
}

/* Portfolio card reveal delay */
.portfolio-grid .portfolio-card:nth-child(1) .portfolio-placeholder { transition-delay: 0s; }
.portfolio-grid .portfolio-card:nth-child(2) .portfolio-placeholder { transition-delay: 0.05s; }
.portfolio-grid .portfolio-card:nth-child(3) .portfolio-placeholder { transition-delay: 0.08s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-up, .metric, .service-card { opacity: 1 !important; transform: none !important; }
  .service-card.card-in { opacity: 1 !important; transform: none !important; }
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card--wide { grid-column: span 1; }
  .portfolio-card--wide .portfolio-placeholder { aspect-ratio: 16 / 9; }
  .philosophy-layout { grid-template-columns: 1fr; gap: 48px; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
  :root { --pad-x: 24px; --section-gap: clamp(72px, 10vw, 100px); }
  .nav-links, .cta-pill { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 100px 24px 72px; min-height: 100svh; }
  .hero-status { top: 84px; }
  .hero-metrics { grid-template-columns: 1fr 1fr; gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .contact-title { font-size: clamp(38px, 10vw, 62px); }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
  :root { --pad-x: 20px; }
  .hero-title { font-size: clamp(40px, 11vw, 56px); }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .metric-number { font-size: clamp(28px, 7vw, 40px); }
  .hero-actions { flex-direction: column; gap: 12px; }
  .btn { justify-content: center; width: 100%; }
  .contact-title { font-size: clamp(34px, 10vw, 54px); }
  .contact-email { font-size: clamp(20px, 6vw, 32px); }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

/* Blast reference: portada y cierre de contacto */
.site-header {
  position: absolute;
  background: transparent;
  border: 0;
}
.site-header.scrolled { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-wrap { position: relative; height: 72px; padding: 0 32px; }
.brand { gap: 10px; color: #080808; }
.brand img { width: 36px; height: 36px; filter: none; }
.brand-name { color: #080808; font-size: 14px; letter-spacing: -0.04em; }
.brand-badge { display: none; }
.nav-links {
  position: absolute;
  top: 20px;
  right: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  margin: 0;
}
.nav-link { color: #080808; font-size: 13px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent); }
.hero {
  min-height: 900px;
  padding: 28px 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  isolation: isolate;
  background: #f1f1f1;
  color: #080808;
}
.hero-bg-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 38%, rgba(255,255,255,.7), transparent 56%);
}
.hero-title-wrap { position: relative; width: 100%; margin: 0 auto; padding-top: 0; text-align: center; }
.hero-kicker {
  margin: 0 0 20px;
  color: #3f3f3f;
  font: 600 10px/1.2 var(--ff-mono);
  letter-spacing: .1em;
}
.hero-kicker span { color: var(--accent); padding: 0 5px; }
.hero-title {
  margin: 0;
  color: #080808;
  font: 900 clamp(58px, 9vw, 130px)/.85 var(--ff-display);
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.hero-title span { display: block; white-space: nowrap; }
.hero-sticker {
  position: absolute;
  z-index: 2;
  top: calc(100% + 2px);
  left: 50%;
  width: 54px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 12px 34px rgba(0,0,0,.16);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-sticker img { width: 62%; height: 62%; object-fit: contain; filter: invert(1); }
.hero-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 58px auto 0;
  color: #333;
  font: 500 9px/1.5 var(--ff-mono);
  letter-spacing: .04em;
}
.hero-meta span:last-child { text-align: right; }

.contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 10vw, 144px) 32px;
  background: #080808;
  color: var(--text);
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 12% 80%, rgba(255,255,255,.08), transparent 36%), repeating-linear-gradient(115deg, rgba(255,255,255,.012) 0 1px, transparent 1px 4px);
}
.contact-layout { position: relative; z-index: 1; max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(44px, 8vw, 120px); }
.contact-copy { display: flex; flex-direction: column; align-items: flex-start; }
.contact-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 64px; font: 700 13px/1 var(--ff-display); letter-spacing: .05em; }
.contact-brand img { width: 28px; height: 28px; filter: invert(1); }
.contact-title { margin: 0 0 38px; font: 800 clamp(54px, 6vw, 82px)/.9 var(--ff-display); letter-spacing: -.055em; }
.contact-title em { color: var(--accent); }
.contact-email { display: inline-flex; margin: 0 0 20px; font: 600 clamp(22px, 2.6vw, 34px)/1.05 var(--ff-display); letter-spacing: -.04em; }
.contact-email:hover { color: var(--accent); }
.contact-body { max-width: 360px; margin: 0; color: #a3a3a3; font: 400 14px/1.6 var(--ff-display); }
.contact-card { min-height: 420px; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 4vw, 46px); border-radius: 24px; background: #f8f8f8; color: #0a0a0a; }
.contact-card-label { margin-bottom: 46px; color: #777; font: 500 9px/1 var(--ff-mono); letter-spacing: .09em; }
.contact-card h3 { max-width: 470px; margin: 0 0 16px; font: 600 clamp(28px, 3vw, 38px)/1.03 var(--ff-display); letter-spacing: -.045em; }
.contact-card p { max-width: 440px; margin-bottom: 32px; color: #646464; font: 400 14px/1.55 var(--ff-display); }
.contact-card-services { width: 100%; margin-bottom: 28px; }
.contact-card-services span { display: block; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.11); color: #383838; font: 500 12px/1.2 var(--ff-display); }
.contact-card-link { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding: 15px 20px; border-radius: 999px; background: #080808; color: white; font: 600 13px/1 var(--ff-display); transition: background .2s, transform .2s; }
.contact-card-link:hover { background: var(--accent); transform: translateY(-2px); }
.site-footer { overflow: hidden; padding: 44px 32px 20px; background: #f1f1f1; color: #090909; border: 0; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; max-width: 1360px; margin: 0 auto; padding-bottom: 34px; border: 0; }
.footer-brand { gap: 10px; color: #090909; font-size: 13px; font-weight: 700; letter-spacing: .05em; }
.footer-brand img { width: 32px; height: 32px; filter: none; }
.footer-links { gap: 24px; }
.footer-links a, .footer-social { color: #343434; font: 500 12px/1.2 var(--ff-display); }
.footer-links a:hover, .footer-social:hover { color: var(--accent); }
.footer-bottom { max-width: 1360px; margin: 0 auto; padding-top: 16px; border-top: 1px solid rgba(0,0,0,.16); color: #555; font: 400 10px/1.4 var(--ff-mono); }
.footer-bottom a { color: #111; }

@media (max-width: 768px) {
  .nav-wrap { height: 68px; padding: 0 16px; }
  .brand img { width: 32px; height: 32px; }
  .brand-name { font-size: 12px; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; color: #090909; }
  .mobile-menu { position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column; justify-content: center; padding: 90px 24px 36px; background: #f1f1f1; color: #090909; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu-inner { display: flex; flex-direction: column; gap: 18px; }
  .mobile-menu-inner a { color: #090909; font: 700 clamp(28px, 9vw, 40px)/1 var(--ff-display); }
  .mobile-menu-footer a { color: #555; }
  .hero { min-height: 680px; padding: 92px 16px 22px; }
  .hero-kicker { margin-bottom: 18px; font-size: 8px; }
  .hero-title { font-size: clamp(32px, 9vw, 40px); line-height: .9; letter-spacing: -.055em; }
  .hero-title span { white-space: nowrap; }
  .hero-sticker { top: calc(100% + 2px); right: auto; left: 50%; width: 44px; transform: translateX(-50%); }
  .hero-meta { margin-top: 56px; font-size: 7px; }
  .contact-section { padding: 76px 16px; }
  .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .contact-brand { margin-bottom: 42px; }
  .contact-title { font-size: clamp(54px, 13vw, 72px); margin-bottom: 28px; }
  .contact-card { min-height: 390px; border-radius: 20px; }
  .contact-card-label { margin-bottom: 36px; }
  .site-footer { padding: 34px 16px 16px; }
  .footer-top { flex-wrap: wrap; align-items: center; gap: 24px; }
  .footer-links { order: 3; width: 100%; justify-content: space-between; gap: 12px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sticker { animation: none; }
}

.featured-media {
  max-width: var(--max-w);
  margin: 48px auto 0;
}
.featured-media + .featured-media { margin-top: 28px; }
.featured-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.featured-media-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-card);
  transition: border-color 0.3s ease;
}
.featured-media-card:hover { border-color: rgba(255, 60, 0, 0.45); }
.featured-media-card video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #111114;
  pointer-events: none;
  user-select: none;
}
.featured-media-card figcaption {
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font: 500 10px/1.2 var(--ff-mono);
}

@media (max-width: 768px) {
  .featured-media-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }
  .featured-media-card { flex: 0 0 min(78vw, 280px); scroll-snap-align: start; }
}

/* Seguridad: lluvia de código con destellos rojos */
.security-section { position: relative; overflow: hidden; padding: var(--section-gap) var(--pad-x); border-bottom: 1px solid var(--line); background: #090a0d; }
.security-matrix { position: absolute; z-index: 0; inset: 0; display: block; width: 100%; height: 100%; opacity: .48; pointer-events: none; }
.security-section + .marquee-wrap { border-top: 0; background: #090a0d; }
.security-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; }
.security-lead-grid { display: grid; grid-template-columns: minmax(0,1fr); min-height: clamp(430px,43vw,560px); align-items: center; }
.security-intro { max-width: 760px; }
.security-kicker { color: #8dbbed; font: 500 10px/1.3 var(--ff-mono); letter-spacing: .12em; }
.security-title { margin: 24px 0 20px; color: var(--text); font: 700 clamp(42px,5.7vw,80px)/.98 var(--ff-display); letter-spacing: -.055em; }
.security-title em { color: #8dbbed; font-family: var(--ff-serif); font-weight: 600; }
.security-description { max-width: 540px; color: var(--muted); font: 400 14px/1.7 var(--ff-display); }
.security-cta { margin-top: 30px; }

/* Fotografía de portada a pantalla completa, detrás del contenido original. */
.hero-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg-noise { z-index: 1; }
.hero-title-wrap, .hero-meta { position: relative; z-index: 2; }
.hero-bg-noise { background: none; }
.hero { background: #090909; color: #f2f2f4; }
.brand, .brand-name, .nav-link, .menu-toggle { color: #f2f2f4; }
.brand img { filter: invert(1); }
.mobile-menu { background: #111; color: #f2f2f4; }
.mobile-menu-inner a { color: #f2f2f4; }
.mobile-menu-footer a { color: #aaa; }
.hero-kicker, .hero-meta { color: rgba(255,255,255,.82); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.hero-title { color: #f2f2f4; text-shadow: 0 1px 18px rgba(0,0,0,.55); }
.hero-statue {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: grayscale(1) contrast(1.08);
}

@media (max-width: 768px) {
  .hero-statue { object-position: 28% center; }
}

/* Hero: keep the headline below and to the right of the statue's face. */
.hero-title-wrap {
  position: absolute;
  top: clamp(470px, 58vh, 610px);
  right: clamp(24px, 4vw, 64px);
  width: min(42vw, 620px);
  margin: 0;
  padding: 0;
  text-align: right;
}
.hero-kicker { margin-bottom: 14px; font-size: clamp(8px, .7vw, 10px); }
.hero-title { font-size: clamp(48px, 4.45vw, 70px); line-height: .88; }
.hero-title span { white-space: nowrap; }
.hero-meta { position: absolute; right: var(--pad-x); bottom: 26px; left: var(--pad-x); width: auto; margin: 0; }

/* Services: a single scroll stack, with compact wide cards instead of a tile grid. */
.services-grid.services-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  max-width: var(--max-w);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.services-stack .service-card {
  position: sticky;
  top: var(--stack-top, 96px);
  min-height: 218px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: #121315;
  box-shadow: 0 16px 42px rgba(0,0,0,.28);
}
.services-stack .service-card:nth-child(1) { --stack-top: 94px; z-index: 1; }
.services-stack .service-card:nth-child(2) { --stack-top: 106px; z-index: 2; }
.services-stack .service-card:nth-child(3) { --stack-top: 118px; z-index: 3; }
.services-stack .service-card:nth-child(4) { --stack-top: 130px; z-index: 4; }
.services-stack .service-card:nth-child(5) { --stack-top: 142px; z-index: 5; }
.services-stack .service-card:nth-child(6) { --stack-top: 154px; z-index: 6; }
.services-stack .service-card:hover { background: #191a1d; }
.services-stack .service-card-inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr) 30px;
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(22px, 4vw, 58px);
  align-items: start;
  min-height: 218px;
  padding: 24px clamp(24px, 3.1vw, 42px);
}
.services-stack .service-meta { grid-column: 1 / -1; margin-bottom: 16px; }
.services-stack .service-title { grid-column: 1; grid-row: 2; margin: 0; font-size: clamp(21px, 2.1vw, 30px); }
.services-stack .service-desc { grid-column: 2; grid-row: 2; margin: 0; font-size: 13px; }
.services-stack .service-tech { grid-column: 1 / 3; grid-row: 3; align-self: end; margin-top: 14px; }
.services-stack .service-arrow { right: 30px; bottom: 27px; }
.services-stack .service-card:focus-within { z-index: 10; }

/* Portfolio: two larger case studies per row. */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.portfolio-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.portfolio-image-wrap { aspect-ratio: 16 / 9; }
.portfolio-info { min-height: 86px; padding: 16px 18px; }
.portfolio-title { font-size: clamp(16px, 1.35vw, 20px); }
.portfolio-tags { font-size: 11px; line-height: 1.5; }

@media (max-width: 768px) {
  .portfolio-grid { grid-template-columns: 1fr; gap: 16px; }
  .portfolio-info { min-height: 74px; padding: 13px 15px; }
  .portfolio-title { font-size: 16px; }
  .portfolio-tags { font-size: 10px; }
  .hero-title-wrap {
    top: auto;
    right: 20px;
    bottom: 112px;
    left: 20px;
    width: auto;
    text-align: left;
  }
  .hero-kicker { margin-bottom: 12px; font-size: 8px; }
  .hero-title { font-size: clamp(29px, 7.8vw, 38px); line-height: .92; }
  .hero-title span { white-space: nowrap; }
  .hero-meta { right: 20px; bottom: 20px; left: 20px; gap: 12px; font-size: 7px; }
  .services-stack .service-card { position: relative; top: auto; min-height: 0; }
  .services-stack .service-card-inner {
    display: flex;
    min-height: 0;
    padding: 24px 22px 28px;
  }
  .services-stack .service-meta { margin-bottom: 20px; }
  .services-stack .service-title { margin-bottom: 12px; }
  .services-stack .service-desc { margin-bottom: 18px; }
  .services-stack .service-tech { margin-top: auto; padding-right: 28px; }
  .portfolio-card { flex-basis: 82vw; min-width: 0; }
}

@media (max-width: 900px) {
  .security-lead-grid { min-height: clamp(380px,55vw,480px); }
}
@media (max-width: 768px) {
  .security-section { padding: var(--section-gap) var(--pad-x); }
  .security-matrix { opacity: .64; }
  .security-lead-grid { min-height: 410px; }
  .security-title { margin: 18px 0 16px; font-size: clamp(39px,10vw,60px); }
}

/* Six service cards, fanned out like a physical deck. */
.services-grid.services-fan {
  position: relative;
  display: block;
  width: min(100%, var(--max-w));
  height: 570px;
  margin: 38px auto 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  perspective: 1400px;
}
.services-fan .service-card {
  position: absolute;
  top: 48px;
  left: 50%;
  width: clamp(250px, 20.5vw, 304px);
  height: 438px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 24px;
  color: #fff;
  background: var(--service-card-color, #675b58);
  box-shadow: 0 26px 58px rgba(0,0,0,.32);
  transform-origin: 50% 88%;
  transform: translate(calc(-50% + var(--fan-x)), var(--fan-y)) rotate(var(--fan-rotation));
  transition: transform .62s cubic-bezier(.2,.75,.2,1), box-shadow .35s ease, filter .35s ease;
  cursor: pointer;
}
.services-fan .service-card:nth-child(1) { --fan-x: -410px; --fan-y: 48px; --fan-rotation: -17deg; --service-card-color: #45405f; z-index: 1; }
.services-fan .service-card:nth-child(2) { --fan-x: -260px; --fan-y: 17px; --fan-rotation: -11deg; --service-card-color: #5d714b; z-index: 2; }
.services-fan .service-card:nth-child(3) { --fan-x: -100px; --fan-y: 0px; --fan-rotation: -5deg; --service-card-color: #66542c; z-index: 3; }
.services-fan .service-card:nth-child(4) { --fan-x: 100px; --fan-y: 0px; --fan-rotation: 5deg; --service-card-color: #654a3d; z-index: 4; }
.services-fan .service-card:nth-child(5) { --fan-x: 260px; --fan-y: 17px; --fan-rotation: 11deg; --service-card-color: #536b7e; z-index: 5; }
.services-fan .service-card:nth-child(6) { --fan-x: 410px; --fan-y: 48px; --fan-rotation: 17deg; --service-card-color: #674530; z-index: 6; }
.services-fan .service-card:hover,
.services-fan .service-card:has(.service-card-open:focus-visible) {
  z-index: 30;
  box-shadow: 0 40px 82px rgba(0,0,0,.52);
  filter: saturate(1.06);
  transform: translate(calc(-50% + var(--fan-x)), calc(var(--fan-y) - 26px)) rotate(0deg) scale(1.045);
}
.services-fan .service-card:has(.service-card-open:focus-visible) { outline: 3px solid #ffb49f; outline-offset: 4px; }
.services-fan .service-card-inner { display: flex; height: 100%; min-height: 0; padding: 0; flex-direction: column; }
.services-fan .service-visual {
  height: 194px;
  flex: 0 0 194px;
  margin: 11px 11px 0;
  overflow: hidden;
  border-radius: 17px;
  background: rgba(255,255,255,.16);
}
.services-fan .service-visual svg { display: block; width: 100%; height: 100%; }
.services-fan .service-visual img,
.services-fan .service-visual video { display: block; width: 100%; height: 100%; }
.services-fan .service-visual--security img { object-fit: contain; background: #090a0d; }
.services-fan .service-visual--systems img { object-fit: contain; background: #f6f5f0; }
.services-fan .service-visual--branding { background: #fff; }
.services-fan .service-visual--branding img { object-fit: contain; }
.services-fan .service-visual--infrastructure video { object-fit: cover; }
.services-fan .service-visual--web video { object-fit: cover; background: #090a0d; }
.services-fan .service-visual--commerce img { object-fit: cover; background: #111214; }
.services-fan .service-visual--systems { background: linear-gradient(135deg, #a8b0b4, #6d7479); }
.services-fan .service-visual--infrastructure { background: linear-gradient(145deg, #93a66d, #3f563a); }
.services-fan .service-visual--security { background: linear-gradient(145deg, #d3bc7a, #8c7745); }
.services-fan .service-visual--branding { background: linear-gradient(145deg, #c5a38a, #80624f); }
.services-fan .service-visual--web { background: linear-gradient(145deg, #a5bac4, #586d7b); }
.services-fan .service-visual--commerce { background: linear-gradient(145deg, #c59b7e, #79513f); }
.services-fan .service-content { display: flex; min-height: 0; padding: 22px 23px 21px; flex: 1; flex-direction: column; }
.services-fan .service-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 15px; }
.services-fan .service-num { color: rgba(255,255,255,.78); font: 500 10px/1 var(--ff-mono); letter-spacing: .08em; }
.services-fan .service-tag-pill { max-width: 82%; overflow: hidden; padding: 6px 8px; border: 0; border-radius: 999px; color: #fff; background: rgba(255,255,255,.15); font: 500 7px/1 var(--ff-mono); letter-spacing: .045em; text-overflow: ellipsis; white-space: nowrap; }
.services-fan .service-title { margin: 0 0 11px; color: #fff; font: 500 clamp(23px, 2vw, 28px)/1.02 Georgia, 'Times New Roman', serif; letter-spacing: -.035em; }
.services-fan .service-desc { margin: 0 0 15px; color: rgba(255,255,255,.82); font: 400 12px/1.5 var(--ff-display); }
.services-fan .service-tech { margin-top: auto; padding-top: 11px; padding-right: 18px; border-top: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.72); font: 400 8px/1.5 var(--ff-mono); letter-spacing: .015em; }
.services-fan .service-arrow { right: 21px; bottom: 22px; color: rgba(255,255,255,.82); font-size: 16px; }
.services-fan .service-card:hover .service-arrow,
.services-fan .service-card:has(.service-card-open:focus-visible) .service-arrow { color: #fff; }

@media (max-width: 1100px) and (min-width: 769px) {
  .services-grid.services-fan { height: 520px; }
  .services-fan .service-card { width: 258px; height: 420px; }
  .services-fan .service-card:nth-child(1) { --fan-x: -310px; }
  .services-fan .service-card:nth-child(2) { --fan-x: -190px; }
  .services-fan .service-card:nth-child(3) { --fan-x: -70px; }
  .services-fan .service-card:nth-child(4) { --fan-x: 70px; }
  .services-fan .service-card:nth-child(5) { --fan-x: 190px; }
  .services-fan .service-card:nth-child(6) { --fan-x: 310px; }
  .services-fan .service-visual { height: 174px; flex-basis: 174px; }
}

@media (max-width: 768px) {
  .services-grid.services-fan {
    display: flex;
    width: calc(100% + 2 * var(--pad-x));
    height: 454px;
    margin: 28px calc(-1 * var(--pad-x)) 0;
    padding: 12px var(--pad-x) 30px;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 14px;
    perspective: none;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #57575c transparent;
  }
  .services-fan .service-card {
    position: relative;
    top: 0;
    left: auto;
    width: 82vw;
    height: 410px;
    min-width: 0;
    flex: 0 0 82vw;
    border-radius: 22px;
    transform: none;
    scroll-snap-align: center;
  }
  .services-fan .service-card:nth-child(n) { --fan-x: 0px; --fan-y: 0px; --fan-rotation: 0deg; z-index: 1; }
  .services-fan .service-card:hover,
  .services-fan .service-card:has(.service-card-open:focus-visible) { transform: translateY(-4px); z-index: 2; }
  .services-fan .service-visual { height: 178px; flex-basis: 178px; }
  .services-fan .service-content { padding: 21px 21px 19px; }
  .services-fan .service-title { font-size: 26px; }
  .services-fan .service-desc { font-size: 12.5px; }
}

/* Accessibility: readable type, contrast, and comfortable service-card spacing. */
.brand-badge,
.status-pill,
.metric-label,
.section-number,
.section-tag,
.mobile-menu a span,
.pp-badge,
.pp-meta,
.portfolio-tags,
.portfolio-year,
.pillar-num,
.contact-card-label,
.footer-bottom,
.hero-kicker,
.hero-meta,
.security-kicker,
.portfolio-count,
.featured-media-card figcaption,
.preloader-count {
  font-size: 12px;
  line-height: 1.45;
}

.service-desc,
.pp-body,
.philosophy-body,
.pillar-content p,
.security-description,
.contact-body,
.contact-card p {
  font-size: 16px;
}
.service-desc { line-height: 1.55; }
.contact-card-label { color: #555; }
.contact-card-services span { font-size: 14px; line-height: 1.4; }
.footer-links a,
.footer-social { font-size: 14px; }
.portfolio-title { font-size: 16px; }
.portfolio-tags { line-height: 1.5; }

.services-grid.services-fan { height: 630px; }
.services-fan .service-card { height: 520px; }
.services-fan .service-num { color: #fff; font-size: 12px; }
.services-fan .service-tag-pill {
  max-width: 82%;
  color: #fff;
  background: rgba(0,0,0,.42);
  font-size: 12px;
  line-height: 1.25;
  white-space: normal;
  text-align: right;
  overflow-wrap: anywhere;
}
.services-fan .service-desc { color: #fff; font-size: 14px; }
.services-fan .service-tech {
  padding-right: 34px;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0;
}
.services-fan .service-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
}
.services-fan .service-arrow:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 50%;
}
.services-fan .service-card:nth-child(3) .service-tag-pill,
.services-fan .service-card:nth-child(4) .service-tag-pill,
.services-fan .service-card:nth-child(6) .service-tag-pill {
  border-color: rgba(255,255,255,.45);
}

.security-matrix { opacity: .44; }
.security-intro :is(.security-kicker, .security-title, .security-description) {
  text-shadow: 0 1px 9px #090a0d, 0 0 2px #090a0d;
}
.site-footer .footer-links a:hover,
.site-footer .footer-social:hover { color: var(--accent-on-light); }
.contact-card-link:hover { background: #a62f00; }

@media (max-width: 1100px) and (min-width: 769px) {
  .services-grid.services-fan { height: 630px; }
  .services-fan .service-card { height: 540px; }
  .services-fan .service-visual { height: 160px; flex-basis: 160px; }
}
@media (max-width: 768px) {
  .services-grid.services-fan { height: 570px; }
  .services-fan .service-card { height: 520px; }
  .services-fan .service-visual { height: 164px; flex-basis: 164px; }
  .security-matrix { opacity: .3; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-wrap { display: none; }
}

/* Portada: marca más legible, jerarquía clara y acento naranja intencional. */
.hero { min-height: max(760px, 100svh); }
.brand { gap: 12px; }
.brand img { width: 42px; height: 42px; }
.brand-name { font-size: 18px; letter-spacing: -.035em; }
.brand-badge { font-size: 12px; }
.hero-title-wrap {
  top: auto;
  right: clamp(24px, 4vw, 64px);
  bottom: clamp(160px, 20vh, 220px);
  width: min(54vw, 820px);
  text-align: right;
}
.hero-kicker {
  margin-bottom: 18px;
  color: rgba(255,255,255,.94);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .08em;
}
.hero-title {
  font-size: clamp(58px, 5vw, 88px);
  line-height: .94;
  letter-spacing: -.055em;
  text-transform: none;
}
.hero-title-line { display: block; white-space: nowrap; }
.hero-title-line--highlight {
  display: block;
  width: auto;
  margin-left: auto;
  padding: 0;
  color: #ff542d;
  background: transparent;
  text-shadow: 0 2px 12px rgba(0,0,0,.9);
  -webkit-text-stroke: .35px #080808;
}
.hero-meta {
  color: rgba(255,255,255,.96);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: .045em;
}
/* Seguridad: conservar la matriz, usar verde y quitar el aire que dejó el bloque vacío. */
.security-section { padding-block: clamp(48px, 5vw, 76px); }
.security-lead-grid { min-height: 0; align-items: start; }
.security-intro { max-width: 900px; }
.security-kicker {
  color: #54ff7a;
  font-size: clamp(12px, .95vw, 14px);
  line-height: 1.5;
  letter-spacing: .1em;
}
.security-title {
  margin: 14px 0 16px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1;
}
.security-title em { color: #54ff7a; }
.security-description {
  max-width: 720px;
  color: #d0d2d5;
  font-size: 17px;
  line-height: 1.65;
}
.security-cta { margin-top: 22px; }
.security-matrix { opacity: .4; }

@media (max-width: 768px) {
  .hero { min-height: max(680px, 100svh); }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 16px; }
  .hero-title-wrap {
    right: 20px;
    bottom: 132px;
    left: 20px;
    width: auto;
    text-align: left;
  }
  .hero-kicker { margin-bottom: 12px; font-size: 12px; }
  .hero-title { font-size: clamp(35px, 9vw, 48px); line-height: .98; }
  .hero-title-line--highlight { margin-left: 0; }
  .hero-meta { right: 20px; bottom: 20px; left: 20px; gap: 14px; font-size: 12px; }
  .security-section { padding-block: 48px; }
  .security-title { font-size: clamp(40px, 9vw, 58px); }
  .security-description { font-size: 16px; }
  .security-matrix { opacity: .3; }
}

/* Service cards: graphite 3D finish with one accessible detail sheet per card. */
.services-fan .service-card {
  isolation: isolate;
  border: 1px solid rgba(238,242,248,.28);
  background: linear-gradient(145deg,#22252a 0%,#101114 30%,#050607 72%,#16181c 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), inset 0 0 28px rgba(255,255,255,.035), 0 26px 58px rgba(0,0,0,.52);
  filter: none;
}
.services-fan .service-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 12% 0%,rgba(255,255,255,.23),transparent 34%),
    linear-gradient(128deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,.045) 16%,transparent 34%,transparent 78%,rgba(255,255,255,.08) 100%);
  opacity: .52;
  pointer-events: none;
  transition: opacity .35s ease;
}
.services-fan .service-card::after {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), inset 0 0 24px rgba(255,255,255,.04);
  opacity: .45;
}
.services-fan .service-card:hover,
.services-fan .service-card:has(.service-card-open:focus-visible) {
  filter: brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 0 34px rgba(255,255,255,.06), 0 42px 90px rgba(0,0,0,.7);
}
.services-fan .service-card:hover::before,
.services-fan .service-card:has(.service-card-open:focus-visible)::before { opacity: .9; }
.services-fan .service-card:has(.service-card-open:focus-visible) { outline: 3px solid #fff; outline-offset: 4px; }
.services-fan .service-card-inner { position: relative; z-index: 1; }
.services-fan .service-card:focus-within:not(:has(.service-card-open:focus-visible)) { outline: none; }
.services-fan .service-card-open {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: transparent;
  cursor: pointer;
}
.services-fan .service-card-open:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -7px;
}
.services-fan .service-arrow { z-index: 6; pointer-events: none; }

.service-profile {
  position: fixed;
  width: min(940px,calc(100vw - 40px));
  max-width: 940px;
  max-height: min(82dvh,760px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 24px;
  background: linear-gradient(145deg,#1b1d21,#090a0c 65%,#17191d);
  color: #f6f7f8;
  box-shadow: 0 36px 110px rgba(0,0,0,.78),inset 0 1px 0 rgba(255,255,255,.22);
}
.service-profile::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(8px); }
.service-profile-shell { display: grid; min-height: min(72dvh,660px); grid-template-columns: 1.05fr .95fr; }
.service-profile-media {
  display: grid;
  min-height: 320px;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,.12);
  background: radial-gradient(ellipse at 50% 35%,#24272c,#090a0c 72%);
}
.service-profile-media img,
.service-profile-media video { display: block; width: 100%; height: 100%; min-height: 320px; max-height: 660px; object-fit: contain; }
.service-profile-copy { position: relative; display: flex; padding: clamp(28px,4vw,48px); flex-direction: column; align-items: flex-start; justify-content: center; }
.service-profile-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.service-profile-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.service-profile-kicker { display: flex; margin: 0 48px 18px 0; gap: 14px; color: #d3d5d8; font: 600 13px/1.5 var(--ff-mono); letter-spacing: .07em; }
.service-profile-kicker span:first-child { color: #ff542d; }
.service-profile-copy h2 { margin: 0 0 18px; color: #fff; font: 700 clamp(32px,4vw,52px)/1.02 var(--ff-display); letter-spacing: -.045em; }
.service-profile-description { margin: 0 0 22px; color: #e1e2e5; font-size: 17px; line-height: 1.65; }
.service-profile-tech { margin: auto 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); color: #c4c6ca; font: 500 13px/1.55 var(--ff-mono); }

@media (max-width: 700px) {
  .service-profile { width: calc(100vw - 28px); max-height: 88dvh; border-radius: 20px; }
  .service-profile-shell { min-height: 0; grid-template-columns: 1fr; grid-template-rows: minmax(210px,32dvh) auto; }
  .service-profile-media { min-height: 210px; max-height: 32dvh; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .service-profile-media img,
  .service-profile-media video { min-height: 210px; max-height: 32dvh; }
  .service-profile-copy { min-height: 265px; padding: 26px 24px 24px; }
  .service-profile-copy h2 { max-width: calc(100% - 24px); font-size: clamp(28px,8vw,38px); }
  .service-profile-description { font-size: 16px; }
  .service-profile-tech { margin-top: 10px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .services-fan .service-card::before { transition: none; }
}

/* Grafito con reflejos neutros; el naranja queda en detalles tipográficos. */
.services-fan .service-card {
  border-color: rgba(238,242,248,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), inset 0 0 30px rgba(255,255,255,.04), 0 26px 58px rgba(0,0,0,.6);
}
.services-fan .service-card::before {
  background:
    radial-gradient(ellipse at 12% 0%,rgba(255,255,255,.24),transparent 36%),
    linear-gradient(128deg,rgba(255,255,255,.18) 0%,rgba(255,255,255,.045) 16%,transparent 34%,transparent 78%,rgba(255,255,255,.09) 100%);
  opacity: .62;
}
.services-fan .service-card:hover,
.services-fan .service-card:has(.service-card-open:focus-visible) {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.52), inset 0 0 38px rgba(255,255,255,.075), 0 42px 90px rgba(0,0,0,.72);
}
.services-fan .service-card:hover::before,
.services-fan .service-card:has(.service-card-open:focus-visible)::before { opacity: 1; }
.services-fan .service-num { color: #ff795b; }
.services-fan .service-tag-pill {
  border: 1px solid rgba(255,84,45,.42);
  color: #ff795b;
  background: rgba(7,8,10,.82);
}
.services-fan .service-arrow { color: #ff795b; }

.service-profile {
  inset: 0;
  margin: auto;
  border-color: rgba(238,242,248,.32);
  background:
    linear-gradient(145deg,#202226 0%,#090a0c 60%,#17191d 100%);
  box-shadow: 0 36px 110px rgba(0,0,0,.78),inset 0 1px 0 rgba(255,255,255,.25);
}
.service-profile-media {
  border-right-color: rgba(255,255,255,.16);
  background: radial-gradient(ellipse at 48% 34%,#282a2e,#111214 48%,#08090b 82%);
}
.service-profile-close { border-color: rgba(255,255,255,.34); color: #ff795b; }
.service-profile-close:hover { background: rgba(255,255,255,.09); color: #fff; }
.service-profile-kicker { color: #e5e6e8; }
.service-profile-kicker span:first-child { color: #ff795b; }
.service-profile-copy h2 { text-shadow: none; }
.service-profile-description { color: #eee4e1; }
.service-profile-tech { border-top-color: rgba(255,255,255,.22); color: #ff795b; }

@media (max-width: 700px) {
  .service-profile-media { border-right: 0; border-bottom-color: rgba(255,255,255,.16); }
}

/* La cabecera de portada mantiene la escala de marca en escritorio y móvil. */
@media (min-width: 769px) {
  .nav-wrap { height: 84px; padding-inline: clamp(32px, 4vw, 64px); }
  .brand { gap: 14px; }
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 21px; letter-spacing: -.035em; }
  .nav-links { top: 16px; right: clamp(32px, 4vw, 64px); gap: 5px; }
  .nav-link { display: inline-flex; min-height: 26px; align-items: center; font-size: 16px; line-height: 1.2; }
}

@media (max-width: 768px) {
  .nav-wrap { height: 76px; padding-inline: 20px; }
  .brand { gap: 10px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 17px; }
  .menu-toggle { width: 48px; height: 48px; }
}

/* Móvil: las seis fichas permanecen juntas en una cuadrícula táctil, sin carrusel. */
@media (max-width: 768px) {
  .services-grid.services-fan {
    display: grid;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 28px auto 0;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
    overflow: visible;
    perspective: none;
    scroll-snap-type: none;
  }
  .services-fan .service-card,
  .services-fan .service-card:nth-child(n) {
    position: relative;
    inset: auto;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    flex: initial;
    transform: none;
    border-radius: 18px;
    scroll-snap-align: none;
    z-index: 1;
  }
  .services-fan .service-card-inner { height: auto; min-height: 0; }
  .services-fan .service-visual {
    height: 132px;
    flex-basis: 132px;
    margin: 8px 8px 0;
    border-radius: 13px;
  }
  .services-fan .service-content { padding: 15px 13px 16px; flex: none; }
  .services-fan .service-meta { align-items: flex-start; gap: 6px; margin-bottom: 10px; }
  .services-fan .service-num { font-size: 11px; }
  .services-fan .service-tag-pill {
    max-width: calc(100% - 28px);
    padding: 4px 5px;
    font-size: 9px;
    line-height: 1.3;
    text-align: right;
  }
  .services-fan .service-title { flex: none; margin-bottom: 8px; font-size: 19px; line-height: 1.08; }
  .services-fan .service-desc { margin-bottom: 8px; font-size: 13px; line-height: 1.42; }
  .services-fan .service-tech { margin-top: 4px; padding-top: 8px; padding-right: 23px; font-size: 10px; line-height: 1.4; }
  .services-fan .service-arrow { right: 10px; bottom: 10px; width: 36px; height: 36px; }
  .services-fan .service-card:hover,
  .services-fan .service-card:has(.service-card-open:focus-visible) { transform: translateY(-3px); z-index: 2; }
}

@media (max-width: 380px) {
  .services-grid.services-fan { gap: 10px; }
  .services-fan .service-card,
  .services-fan .service-card:nth-child(n) { min-height: 0; }
  .services-fan .service-card-inner { min-height: 0; }
  .services-fan .service-visual { height: 118px; flex-basis: 118px; }
  .services-fan .service-content { padding-right: 11px; padding-left: 11px; }
  .services-fan .service-title { font-size: 18px; }
  .services-fan .service-desc { font-size: 12px; }
}

/* Oculta las pistas de scroll sin desactivar el desplazamiento táctil o con rueda. */
html,
body,
* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
*::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Escritorio: reducir el abanico completo de servicios un 20%, conservando su proporción. */
@media (min-width: 1101px) {
  .services-grid.services-fan {
    height: 493px;
    transform: scale(.8);
    transform-origin: top center;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .services-grid.services-fan {
    height: 509px;
    transform: scale(.8);
    transform-origin: top center;
  }
}
