:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --ink: #ffffff;
  --muted: #9a9a9a;
  --line: #2a2a2a;
  --line-soft: #1a1a1a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 56px 0;
  z-index: 5;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  line-height: 1;
}
.brand-mark {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.62em;
  font-weight: 500;
  color: var(--ink);
  margin-left: 6px;
  opacity: .92;
}

.site-nav {
  display: flex;
  gap: 56px;
  font-size: 13px;
  letter-spacing: 0.32em;
  font-weight: 500;
}
.nav-link {
  position: relative;
  padding: 8px 2px;
  color: var(--ink);
  opacity: .85;
  transition: opacity .25s ease;
}
.nav-link:hover { opacity: 1; }
.nav-link.is-active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 56px 110px;
  isolation: isolate;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ---------- Hero glass background icon ---------- */
.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-img {
  width: min(70vw, 880px);
  max-width: 100%;
  height: auto;
  aspect-ratio: 1200 / 675;
  opacity: 0.6;
  /* Static filter only — animating drop-shadow per frame is expensive */
  filter: grayscale(1) brightness(1.1) contrast(1.05);
  transform-origin: center center;
  animation: glassRotate 22s ease-in-out infinite;
  will-change: transform;
}
/* Animated aura simulates the rim/contour lights pulsing — much cheaper than drop-shadow */
.hero-bg-aura {
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(circle at 50% 50%, rgba(225, 235, 255, 0.22), transparent 40%),
    radial-gradient(circle at 38% 42%, rgba(220, 235, 255, 0.12), transparent 46%);
  filter: blur(24px);
  animation: auraPulse 6s ease-in-out infinite;
  will-change: opacity;
}

@keyframes glassRotate {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}
@keyframes auraPulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-img { animation: none; }
  .hero-bg-aura { animation: none; }
}
@media (max-width: 860px) {
  /* Hide the full-hero glass backdrop — on mobile the icon lives next to the tagline */
  .hero-bg { display: none; }
}

/* ---------- Hero left column ---------- */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

/* ---------- Liquid glass launch date card ---------- */
.launch-date {
  margin-top: 38px;
  padding: 20px 30px;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  background:
    linear-gradient(135deg,
      rgba(255,255,255,0.10) 0%,
      rgba(255,255,255,0.04) 60%,
      rgba(255,255,255,0.07) 100%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  /* Lower blur radius drastically cuts paint cost when content moves underneath */
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 18px 40px -18px rgba(0,0,0,0.65);
  opacity: 0;
  transform: translateY(14px);
  animation: launchFadeIn 1.8s cubic-bezier(.2,.6,.2,1) .8s forwards;
}
@keyframes launchFadeIn {
  0%   { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}
.launch-eyebrow {
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.launch-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.08em;
  color: #fff;
  line-height: 1;
}
.launch-meta {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .launch-date { animation: none; opacity: 1; transform: none; }
}

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  color: var(--ink);
}
.countdown .unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 130px;
}
.countdown .unit { min-width: 100px; }
.countdown .num {
  font-size: clamp(56px, 9.2vw, 140px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  font-feature-settings: "lnum" 1, "tnum" 1;
  display: inline-block;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s ease;
}
.countdown .num.flip {
  animation: numFlip .55s cubic-bezier(.2,.7,.2,1);
}
@keyframes numFlip {
  0%   { transform: translateY(0)   scale(1);   opacity: 1; }
  35%  { transform: translateY(-10px) scale(.96); opacity: .25; }
  60%  { transform: translateY(8px)  scale(1.02); opacity: .8; }
  100% { transform: translateY(0)   scale(1);   opacity: 1; }
}
.countdown .label {
  margin-top: 18px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.countdown .sep {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  transform: translateY(-6px);
  opacity: .85;
}

/* ---------- EVOLUCIONA / Tagline ---------- */
.tagline {
  border-left: 1px solid var(--line);
  padding-left: 56px;
  min-height: 280px;
  display: flex;
  align-items: center;
}
/* Icon shown only on mobile alongside the tagline text */
.tagline-icon { display: none; }
.evolve {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.evolve-line {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .evolve .letter { animation: none; transition: none; }
}

/* ---------- Partners ---------- */
.partners {
  background: var(--bg);
  color: #fff;
  padding: 64px 24px 80px;
  border-top: 1px solid var(--line-soft);
}
.partners-title {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #f5f5f5;
  margin: 0 0 48px;
  font-weight: 500;
}
.partners-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 0;
}
.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  min-height: 220px;
  position: relative;
}
.partner + .partner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: var(--line);
}
.partner img {
  max-height: 120px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .82;
  transition: transform .35s ease, opacity .35s ease, filter .35s ease;
}
.partner img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Captions under each partner logo */
.partner-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}
.partner-caption-line {
  font-family: 'Manrope', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}
.partner-caption-plan {
  margin-top: 6px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
}
.partner-date {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 26px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- Nosotros ---------- */
.about {
  background: var(--bg-soft);
  padding: 110px 24px 130px;
  border-top: 1px solid var(--line-soft);
}
.about-inner {
  max-width: 980px;
  margin: 0 auto;
}
.about-eyebrow {
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  font-weight: 500;
}
.about-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 48px;
  max-width: 760px;
}
.about-blocks {
  display: grid;
  gap: 64px;
  max-width: 760px;
}
.about-block {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  display: grid;
  gap: 14px;
  font-size: 16px;
  line-height: 1.7;
  color: #c9c9c9;
}
.about-block strong { color: #fff; font-weight: 600; }
.about-block em { font-style: italic; color: #fff; }
.about-block p { margin: 0; }
.about-block-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 6px;
}
.about-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 44px;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.01em;
}
.about-kicker {
  font-size: clamp(16px, 1.6vw, 20px);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
}
.about-block-lead {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  color: #fff;
  letter-spacing: -0.005em;
  max-width: 640px;
}
.about-services {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.about-services li {
  position: relative;
  padding: 14px 0 14px 26px;
  font-size: 18px;
  color: #fff;
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left .3s ease, color .3s ease;
}
.about-services li:last-child { border-bottom: none; }
.about-services li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--muted);
  font-size: 16px;
  transition: transform .3s ease, color .3s ease;
}
.about-services li:hover { padding-left: 34px; }
.about-services li:hover::before { color: #fff; transform: translateX(4px); }

.about-sign {
  margin-top: 80px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: #ffffff;
  opacity: .8;
  text-align: left;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  color: #6b6b6b;
  text-align: center;
  padding: 28px 16px 40px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border-top: 1px solid var(--line-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .site-header { padding: 28px 32px 0; }
  .hero { padding: 60px 32px 80px; }
  .site-nav { gap: 36px; }
}

@media (max-width: 860px) {
  .site-header {
    flex-direction: column;
    gap: 22px;
    padding: 28px 24px 0;
  }
  .brand { align-items: center; }
  .brand-sub { margin-left: 0; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .tagline {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 36px;
    min-height: 0;
  }
  .tagline-icon {
    display: block;
    flex: 0 0 38%;
    max-width: 200px;
    height: auto;
    aspect-ratio: 1200 / 675;
    filter: grayscale(1) brightness(1.1) contrast(1.05);
    opacity: 0.9;
    animation: glassRotate 22s ease-in-out infinite;
    will-change: transform;
  }
  .evolve {
    flex: 1 1 auto;
    font-size: clamp(22px, 6.4vw, 38px);
    letter-spacing: 0.06em;
    line-height: 1.05;
  }
  .countdown { justify-content: space-between; gap: 6px; }
  .countdown .unit { min-width: 0; flex: 1; }
  .countdown .sep { transform: translateY(-4px); }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .partner + .partner::before { display: none; }
  .partner { min-height: 190px; border: 1px solid var(--line-soft); padding: 22px 16px; }
  .partner img { max-height: 90px; }
  .partner-caption-plan { font-size: 17px; }
  .partner-date { font-size: 22px; }
}

@media (max-width: 520px) {
  .countdown .num { font-size: 64px; }
  .countdown .sep { font-size: 56px; }
  .countdown .label { font-size: 10px; letter-spacing: 0.3em; }
  .tagline { gap: 14px; }
  .tagline-icon { flex-basis: 36%; max-width: 160px; }
  .evolve { font-size: 26px; letter-spacing: 0.04em; }
  .about { padding: 80px 22px 90px; }
}
