:root {
  --bg: #030303;
  --bg-2: #0a0a0a;
  --panel: rgba(255,255,255,0.05);
  --panel-2: rgba(255,255,255,0.08);
  --line: rgba(255,255,255,0.12);
  --line-strong: rgba(255,255,255,0.22);
  --text: #f6f6f6;
  --muted: #bbbbbb;
  --muted-2: #999999;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,0.07), transparent 28%),
    radial-gradient(circle at 100% 10%, rgba(255,255,255,0.06), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(255,255,255,0.03), transparent 28%),
    var(--bg);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 140px 140px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
}

.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  margin-left: -160px;
  margin-top: -160px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(3,3,3,.58);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease;
}
.site-header.scrolled {
  background: rgba(3,3,3,.82);
  border-color: var(--line);
}

.nav-bar {
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-mark {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #000;
  font-weight: 800;
  letter-spacing: .04em;
  flex: 0 0 auto;
    margin: 20px 20px 20px 20px;
}
.brand-copy {
  display: grid;
  gap: 3px;
}
.brand-copy strong {
  font-size: 0.9rem;
  letter-spacing: .05em;
}
.brand-copy small {
  color: var(--muted-2);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: var(--muted);
  font-size: .96rem;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  padding: 72px 0 34px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 110px);
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #d8d8d8;
  font-size: .78rem;
  letter-spacing: .2em;
}

h1, h2, h3, p { margin-top: 0; }

.hero h1,
.section h2 {
  line-height: .95;
  letter-spacing: -.05em;
}
.hero h1 {
  max-width: 860px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  margin-bottom: 24px;
}
.section h2 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  margin-bottom: 0;
}
.hero p,
.section p,
.service-card p,
.sector-card p,
.timeline p,
.value-card p,
.contact-copy p,
.cta-box p,
footer p {
  color: var(--muted);
  line-height: 1.75;
}
.hero-copy > p {
  max-width: 700px;
  font-size: 1.06rem;
}

.hero-actions,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-weight: 600;
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.btn-primary { background: #fff; color: #000; }
.btn-secondary { background: transparent; color: #fff; }

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.hero-stat-row article,
.content-card,
.service-card,
.sector-card,
.value-card,
.contact-form,
.cta-box,
.sticky-card,
.hero-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.hero-stat-row article {
  border-radius: var(--radius-lg);
  padding: 22px;
}
.hero-stat-row span,
.hero-panel span,
.contact-note strong,
.highlight-grid span,
.service-index {
  display: block;
  color: #ddd;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-stat-row strong {
  display: block;
  margin: 10px 0 10px;
  font-size: 1.55rem;
  letter-spacing: -.03em;
}
.hero-stat-row p { font-size: .96rem; }

.hero-stage {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
}
.hero-grid-visual {
  width: min(560px, 92%);
  aspect-ratio: 1 / 1.08;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.hero-grid-visual div {
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  animation: pulsePanel 7s ease-in-out infinite;
}
.hero-grid-visual div:nth-child(2n) { animation-delay: .7s; }
.hero-grid-visual div:nth-child(3n) { animation-delay: 1.4s; }
.hero-grid-visual div:nth-child(5),
.hero-grid-visual div:nth-child(8),
.hero-grid-visual div:nth-child(10),
.hero-grid-visual div:nth-child(13) {
  transform: translateY(26px);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  background: rgba(255,255,255,.13);
  animation: orbFloat 9s ease-in-out infinite;
}
.hero-orb-a {
  width: 240px;
  height: 240px;
  right: 0;
  top: 50px;
}
.hero-orb-b {
  width: 180px;
  height: 180px;
  left: 30px;
  bottom: 100px;
  animation-delay: 1.8s;
}
.hero-panel {
  position: absolute;
  border-radius: 26px;
  padding: 22px 22px 20px;
  z-index: 2;
}
.hero-panel strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 1.35rem;
  line-height: 1.15;
}
.hero-panel p { margin-bottom: 0; }
.hero-panel-large {
  width: min(330px, 70%);
  top: 35px;
  left: 0;
}
.hero-panel-small {
  width: min(280px, 62%);
  right: 0;
  bottom: 55px;
}

.highlight-band {
  padding: 14px 0 24px;
}
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.highlight-grid article {
  padding: 18px 20px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.highlight-grid h3 {
  margin: 10px 0 0;
  font-size: 1.05rem;
  letter-spacing: -.03em;
}

.section {
  position: relative;
  padding: 110px 0;
  z-index: 2;
}
.section-contrast,
.section-dark {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
}

.split-section,
.process-wrap,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}
.section-title-block,
.section-head {
  max-width: 760px;
}
.sticky-card {
  position: sticky;
  top: 108px;
  border-radius: var(--radius-xl);
  padding: 28px;
}
.content-stack,
.values-grid {
  display: grid;
  gap: 18px;
}
.content-card {
  border-radius: var(--radius-lg);
  padding: 28px;
}
.center-head {
  text-align: center;
  margin: 0 auto 42px;
}

.service-grid,
.values-grid,
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card,
.value-card,
.sector-card {
  border-radius: 28px;
  padding: 26px;
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
  transform-style: preserve-3d;
}
.service-card:hover,
.value-card:hover,
.sector-card:hover {
  border-color: var(--line-strong);
}
.service-card h3,
.value-card h3,
.sector-card h3 {
  margin: 12px 0 14px;
  font-size: 1.28rem;
  letter-spacing: -.03em;
}

.sector-layout {
  display: grid;
  gap: 38px;
}

.timeline {
  display: grid;
  gap: 20px;
}
.timeline article {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
}
.timeline span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: #fff;
}
.timeline h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.cta-section { padding-top: 70px; }
.cta-box {
  border-radius: 36px;
  padding: 38px;
  text-align: left;
}
.cta-box h2 {
  max-width: 980px;
  margin-bottom: 18px;
}
.cta-box p {
  max-width: 780px;
  margin-bottom: 28px;
}

.contact-layout {
  align-items: stretch;
}
.contact-copy {
  padding-right: 16px;
}
.contact-note {
  margin-top: 28px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  line-height: 1.65;
}
.contact-note span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}
.contact-form {
  border-radius: 32px;
  padding: 28px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 10px;
  color: #e8e8e8;
  font-size: .92rem;
}
.field input,
.field textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color: #fff;
  padding: 16px 18px;
  outline: none;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus,
.field textarea:focus {
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.05);
  transform: translateY(-1px);
}

.site-footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
}
.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-layout strong {
  display: block;
  margin-bottom: 8px;
}
.footer-layout p,
.footer-layout span {
  color: var(--muted-2);
  margin: 0;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s ease, transform .9s ease;
}
.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes orbFloat {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(0,-18px,0) scale(1.06); }
}

@keyframes pulsePanel {
  0%, 100% { opacity: .95; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.015); }
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-section,
  .process-wrap,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .sticky-card { position: relative; top: 0; }
  .hero-stage { min-height: 560px; }
  .service-grid,
  .sector-grid,
  .values-grid,
  .highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(10,10,10,.96);
    border: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .3s ease, transform .3s ease;
  }
  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .menu-toggle { display: block; }
  .brand-copy small { display: none; }
  .hero {
    padding-top: 42px;
  }
  .hero-stage { min-height: 500px; }
  .hero-panel-large,
  .hero-panel-small {
    width: min(300px, 78%);
  }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1200px); }
  .nav-bar { min-height: 76px; }
  .brand-copy strong { font-size: .78rem; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 4.3rem); }
  .section { padding: 84px 0; }
  .hero-stat-row,
  .form-grid,
  .service-grid,
  .sector-grid,
  .values-grid,
  .highlight-grid {
    grid-template-columns: 1fr;
  }
  .hero-stage {
    min-height: 420px;
  }
  .hero-grid-visual {
    width: 100%;
    gap: 10px;
  }
  .hero-grid-visual div { border-radius: 22px; }
  .hero-panel {
    position: absolute;
    padding: 18px;
  }
  .hero-panel-large {
    top: 20px;
    left: 0;
  }
  .hero-panel-small {
    right: 0;
    bottom: 20px;
  }
  .timeline article {
    grid-template-columns: 1fr;
  }
  .footer-layout {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}


.hero-stage,
.service-card,
.value-card,
.sector-card,
.contact-form,
.cta-box {
  overflow: hidden;
}

.main-nav a,
.btn,
.service-card,
.value-card,
.sector-card,
.hero-panel,
.contact-form,
.content-card,
.timeline article,
.highlight-grid article,
.cta-box {
  will-change: transform;
}

@media (max-width: 820px) {
  .cursor-glow,
  .page-noise {
    display: none;
  }

  .hero-grid {
    gap: 28px;
    min-height: auto;
  }

  .hero-stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    min-height: auto;
  }

  .hero-grid-visual {
    display: none;
  }

  .hero-panel {
    position: relative;
    width: 100%;
    max-width: none;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    min-height: 0;
  }

  .hero-panel-large { order: 1; }
  .hero-panel-small { order: 2; }

  .hero-orb {
    display: none;
  }
}

@media (max-width: 640px) {
  .brand {
    max-width: calc(100% - 64px);
  }

  .brand-copy strong {
    line-height: 1.2;
  }

  .section-title-block,
  .section-head,
  .contact-copy {
    padding-right: 0;
  }

  .sticky-card,
  .content-card,
  .service-card,
  .value-card,
  .sector-card,
  .contact-form,
  .cta-box,
  .timeline article {
    border-radius: 22px;
    padding: 22px;
  }

  .contact-form .btn,
  .cta-box .btn,
  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-copy > p {
    font-size: 1rem;
  }

  .hero-stage {
    gap: 14px;
  }

  .hero-panel strong {
    font-size: 1.15rem;
  }
}



/*datos por mi*/
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 120px;   /* ajusta el tamaño */
  height: auto;
}

