/* ─────────────────────────────────────────────
   BDG — Design Agency  |  Full Black Theme
   Faithful clone of clay.global structure
   MOD: logo size to 90px in header & footer
───────────────────────────────────────────── */

/* FONTS */
@font-face {
  font-family: 'UniversalSans-500';
  src: url('../fonts/UniversalSans-500.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UniversalSans-500-Headlines';
  src: url('../fonts/UniversalSans-500-Headlines.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UniversalSans-740';
  src: url('../fonts/UniversalSans-740.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UniversalSans-740-Headlines';
  src: url('../fonts/UniversalSans-740-Headlines.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* DESIGN TOKENS */
:root {
  --color-black:       #000000;
  --color-black-soft:  #0a0a0a;
  --color-gray-950:    #101010;
  --color-gray-900:    #171921;
  --color-gray-800:    #1e2230;
  --color-gray-700:    #282c38;
  --color-gray-600:    #3a3f50;
  --color-gray-400:    #858e97;
  --color-gray-300:    #a4b0c2;
  --color-gray-100:    #f3f4f6;
  --color-white:       #ffffff;

  --bg:           var(--color-black);
  --bg-card:      var(--color-gray-950);
  --bg-card-2:    var(--color-gray-900);
  --text:         var(--color-white);
  --text-muted:   var(--color-gray-400);
  --text-subtle:  var(--color-gray-300);
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.18);

  --font-body:      'UniversalSans-500', Arial, sans-serif;
  --font-head:      'UniversalSans-740-Headlines', Arial, sans-serif;
  --font-head-med:  'UniversalSans-500-Headlines', Arial, sans-serif;
  --font-bold:      'UniversalSans-740', Arial, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-expo:  cubic-bezier(0.7, 0, 0.84, 0);
  --ease-std:      cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h: 72px;
  --container: 1400px;
  --gap: 20px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* CURSOR */
.cursor {
  pointer-events: none;
  position: fixed;
  z-index: 9999;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-white);
  transform: translate(-50%,-50%);
  transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), opacity 0.3s;
  mix-blend-mode: difference;
}
.cursor.expanded { width: 44px; height: 44px; }
@media (hover: none) { .cursor { display: none; } }

/* ── NAVIGATION ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 40px;
  transition: background 0.4s var(--ease-std), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  margin-right: auto;
}
/* MOD: logo en cabecera a 90px */
.nav-logo img {
  height: 70px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links > li {
  position: relative;
}
.nav-links > li > a,
.nav-links > li > button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links > li > a:hover,
.nav-links > li > button:hover { color: var(--text); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--color-gray-950);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s var(--ease-out-expo);
}
.nav-links > li:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: none;
}
.nav-dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-muted);
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:hover { background: var(--border); color: var(--text); }

.nav-cta {
  margin-left: 16px;
  padding: 9px 22px;
  background: var(--text);
  color: var(--bg) !important;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.15s;
}
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 490;
  background: var(--color-black);
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
}
.mobile-nav.open { display: flex; opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-muted);
  transition: color 0.2s;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--text); }

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

/* ── HERO ── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--color-black);
}

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

.hero-helix {
  position: absolute;
  right: -5vw;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(380px, 48vw, 750px);
  opacity: 0.22;
  pointer-events: none;
  animation: helixFloat 8s ease-in-out infinite;
}
@keyframes helixFloat {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50%       { transform: translateY(calc(-50% - 20px)) translateX(-8px); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 80px 40px 100px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.2s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--text-muted);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.6rem, 7.5vw, 8.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
  max-width: 880px;
  margin-bottom: 40px;
  overflow: hidden;
}

/* Word-by-word reveal animation */
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotate(3deg);
  animation: wordReveal 0.7s var(--ease-out-expo) forwards;
}
@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0) rotate(0deg); }
}

.hero-title .line-break { display: block; }

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 52px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.8s forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 1s forwards;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease-out-expo), opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-white {
  background: var(--text);
  color: var(--bg);
}
.btn-white:hover { opacity: 0.88; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.4); }

.btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  transition: background 0.2s, transform 0.2s var(--ease-out-expo);
}
.btn-arrow:hover { background: var(--border); transform: translateY(-2px); }
.btn-arrow svg { width: 18px; height: 18px; }

/* ── MARQUEE STRIP ── */
.marquee-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 16px 0;
  background: var(--color-black);
  position: relative;
  z-index: 3;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 40px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.marquee-item::after {
  content: '·';
  color: var(--color-gray-700);
}

/* ── SECTION COMMONS ── */
section { position: relative; }

.section-head {
  margin-bottom: 64px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--text-muted);
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--text);
}
.section-sub {
  margin-top: 20px;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.7;
}

/* ── SERVICES ── */
#services {
  padding: 120px 0;
  background: var(--color-black-soft);
}

.services-accordion {
  border-top: 1px solid var(--border);
}

.service-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.service-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 32px 0;
  cursor: pointer;
  transition: opacity 0.2s;
}
.service-header:hover .service-num,
.service-header:hover .service-name { color: var(--text); }

.service-left {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  gap: 24px;
}
.service-num {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-gray-700);
  transition: color 0.3s;
}
.service-name {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.8vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--text-muted);
  transition: color 0.3s;
}
.service-item.active .service-name { color: var(--text); }

.service-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.4s var(--ease-out-expo);
  flex-shrink: 0;
}
.service-item.active .service-toggle {
  background: var(--text);
  border-color: var(--text);
  transform: rotate(45deg);
}
.service-toggle svg {
  width: 14px; height: 14px;
  stroke: var(--text);
  transition: stroke 0.2s;
}
.service-item.active .service-toggle svg { stroke: var(--bg); }

.service-body {
  display: grid;
  grid-template-columns: 60px 1fr 420px;
  gap: 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-out-expo);
}
.service-item.active .service-body { max-height: 600px; }

.service-body-inner {
  grid-column: 2;
  padding-bottom: 48px;
}
.service-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 480px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tag {
  font-size: 12px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  transition: border-color 0.2s, color 0.2s;
}
.service-tag:hover { border-color: var(--border-hover); color: var(--text); }

.service-image {
  grid-column: 3;
  grid-row: 1;
  padding-bottom: 48px;
  overflow: hidden;
  border-radius: 16px;
}
.service-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 16px;
  transform: scale(1.05);
  transition: transform 0.8s var(--ease-out-expo);
}
.service-item.active .service-image img { transform: scale(1); }

/* ── WORK GRID ── */
#work {
  padding: 120px 0;
  background: var(--color-black);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}

.work-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--color-gray-950);
  cursor: pointer;
  transition: transform 0.5s var(--ease-out-expo);
}
.work-card:hover { transform: scale(1.015); }

/* Grid spans */
.work-card:nth-child(1) { grid-column: span 8; aspect-ratio: 16/9; }
.work-card:nth-child(2) { grid-column: span 4; aspect-ratio: 4/5; }
.work-card:nth-child(3) { grid-column: span 4; aspect-ratio: 4/5; }
.work-card:nth-child(4) { grid-column: span 8; aspect-ratio: 16/9; }
.work-card:nth-child(5) { grid-column: span 6; aspect-ratio: 16/9; }
.work-card:nth-child(6) { grid-column: span 6; aspect-ratio: 16/9; }

.work-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}
.work-card:hover .work-img { transform: scale(1.06); }

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.3) 50%,
    transparent 100%
  );
  transition: opacity 0.3s;
}

.work-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 28px 28px;
  transform: translateY(4px);
  transition: transform 0.3s var(--ease-out-expo);
}
.work-card:hover .work-info { transform: none; }

.work-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.work-chip {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3px 9px;
  border-radius: 4px;
}
.work-name {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 4px;
}
.work-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.work-arrow {
  position: absolute;
  top: 20px; right: 20px;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 14px;
  opacity: 0;
  transform: scale(0.7) rotate(-20deg);
  transition: opacity 0.3s, transform 0.3s var(--ease-out-expo);
}
.work-card:hover .work-arrow { opacity: 1; transform: scale(1) rotate(0); }

/* ── CAPABILITIES ── */
#capabilities {
  padding: 120px 0;
  background: var(--color-gray-950);
}

.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.cap-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

.cap-list { margin-top: 0; }

.cap-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.cap-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  text-align: left;
  transition: opacity 0.2s;
}
.cap-btn-title {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  letter-spacing: -0.025em;
  color: var(--text-muted);
  transition: color 0.3s;
}
.cap-item.active .cap-btn-title { color: var(--text); }
.cap-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo);
}
.cap-item.active .cap-body { max-height: 300px; }
.cap-body-inner {
  padding-bottom: 28px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── INDUSTRIES ── */
#industries {
  padding: 120px 0;
  background: var(--color-black);
}

.industry-list { border-top: 1px solid var(--border); }
.industry-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.2s;
}
.industry-item:hover { opacity: 0.7; }
.industry-name {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  letter-spacing: -0.02em;
}
.industry-clients {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── STATS ── */
#stats {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--color-black-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.stat-cell {
  background: var(--color-black-soft);
  padding: 48px 40px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(3rem, 5vw, 5.5rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 12px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 160px;
  margin: 0 auto;
}

/* ── CONTACT CTA ── */
#contact-cta {
  padding: 160px 0;
  background: var(--color-black);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-helix {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(700px, 90vw);
  opacity: 0.06;
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 2; }

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 7.5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 32px;
}

.cta-email {
  display: inline-block;
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--text-muted);
  margin-bottom: 48px;
  position: relative;
  transition: color 0.2s;
}
.cta-email::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--text-muted);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}
.cta-email:hover { color: var(--text); }
.cta-email:hover::after { transform: scaleX(1); }

/* ── FOOTER ── */
footer {
  background: var(--color-black);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 300px repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 64px;
}

.footer-brand {}
.footer-logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--text);
  display: inline-block;
  margin-bottom: 20px;
}
/* MOD: logo en footer a 70px (si existe imagen dentro de .footer-brand) */
.footer-brand img {
  height: 70px;
  width: auto;
  margin-bottom: 20px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 220px;
  margin-bottom: 32px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-social {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.footer-social:hover { border-color: var(--border-hover); color: var(--text); }

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  font-size: 14px;
  color: var(--color-gray-600);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--color-gray-700);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--color-gray-700); transition: color 0.2s; }
.footer-legal a:hover { color: var(--text-muted); }

/* ── SCROLL ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: none; }

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.08s; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.16s; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.24s; }
.stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.32s; }
.stagger.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.40s; }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .service-body { grid-template-columns: 60px 1fr; }
  .service-image { display: none; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: span 3; }
}

@media (max-width: 1024px) {
  .work-card:nth-child(1) { grid-column: span 12; }
  .work-card:nth-child(2) { grid-column: span 6; }
  .work-card:nth-child(3) { grid-column: span 6; }
  .work-card:nth-child(4) { grid-column: span 12; }
  .work-card:nth-child(5) { grid-column: span 6; }
  .work-card:nth-child(6) { grid-column: span 6; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap-sticky { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-item { grid-template-columns: 160px 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .container { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  #nav { padding: 0 24px; }

  /* Ajuste responsive para logo en móvil: reducir a 70px para no ocupar demasiado */
  .nav-logo img {
    height: 70px;
  }
  .footer-brand img {
    height: 70px;
  }

  #hero .hero-inner { padding: 48px 24px 80px; }
  .hero-helix { width: 70vw; right: -15vw; opacity: 0.14; }

  #services, #work, #capabilities, #industries, #contact-cta { padding: 80px 0; }
  footer { padding: 60px 0 32px; }

  .work-card:nth-child(n) { grid-column: span 12; aspect-ratio: 4/3; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .industry-item { grid-template-columns: 1fr; gap: 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-title { font-size: clamp(2.6rem, 10vw, 5rem); }
  .service-header { grid-template-columns: 1fr auto; }
  .service-left { grid-template-columns: 40px 1fr; gap: 14px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  /* Para móviles muy pequeños, logo aún más pequeño opcional */
  .nav-logo img {
    height: 60px;
  }
  .footer-brand img {
    height: 60px;
  }
}