:root {
  --bg: #06131b;
  --panel: #0a1b24;
  --line: #21414d;
  --text: #edf4f5;
  --muted: #8298a0;
  --lime: #b9ff36;
  --cyan: #61d6ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(
      circle at 15% 0,
      rgba(97, 214, 255, .07),
      transparent 28%
    ),
    #06131b;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

a {
  color: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.top {
  position: sticky;
  top: 0;
  z-index: 50;

  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 100px;

  padding: 8px clamp(20px, 5vw, 82px);

  border-bottom: 1px solid #173541;

  background: rgba(6, 19, 27, .86);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;

  text-decoration: none;
  letter-spacing: .22em;
  font-size: 14px;
}

.brand span {
  display: grid;
  place-items: center;

  width: 34px;
  height: 34px;

  border: 1px solid #315766;
  border-radius: 50%;

  color: var(--lime);
  font-weight: 700;
}

.top nav {
  display: flex;
  gap: 25px;
}

.top nav a {
  color: #91a5ac;
  text-decoration: none;
  font-size: 14px;
}

/* CONTENEDOR VISIBLE DEL LOGO */
.logo-box {
  width: 190px;
  height: 82px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  overflow: hidden;

  margin: 0;
  padding: 0;
}


/* PNG DEL LOGO */
.hanaq-logo {
  display: block;

  width: 100px;
  height: 100px;

  object-fit: contain;

  /* Zoom al contenido real dentro del PNG */
  transform: scale(4.2);

  /* Ajusta hacia dónde crece */
  transform-origin: center center;

  margin: 0;
  padding: 0;
}
/* =========================================================
   BUTTONS
========================================================= */

.ghost,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  padding: 11px 18px;

  text-decoration: none;
  font-size: 13px;

  border: 1px solid #355866;
}

.primary {
  background: var(--lime);
  border-color: var(--lime);

  color: #071217;
  font-weight: 700;
}

.secondary {
  color: #dce7ea;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  min-height: 680px;

  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;

  gap: 50px;

  padding: 90px clamp(24px, 6vw, 110px);
}

small {
  color: #6c8b96;

  letter-spacing: .16em;
  font-size: 10px;
}

.hero h1,
.statement h2,
.split h2,
.action h2,
.manage h2,
.closing h2 {
  letter-spacing: -.045em;
  line-height: .98;
}

.hero h1 {
  font-size: clamp(56px, 7vw, 104px);
  margin: 10px 0 22px;
}

.hero p,
.statement p,
.split p,
.action p,
.manage p {
  color: var(--muted);

  font-size: 18px;
  line-height: 1.65;
}

.actions {
  display: flex;
  gap: 12px;

  margin-top: 28px;
}


/* =========================================================
   UNIVERSE
========================================================= */

.universe {
  position: relative;

  min-height: 500px;

  border: 1px solid #173b48;
  border-radius: 50%;

  background:
    repeating-radial-gradient(
      circle at center,
      transparent 0 82px,
      rgba(75, 133, 153, .08) 83px 84px,
      transparent 85px 128px
    );
}

.universe .center,
.universe i {
  position: absolute;

  display: grid;
  place-items: center;

  border: 1px solid #315866;
  border-radius: 999px;

  background: #0a1d26;

  color: #9fb2b8;

  font-style: normal;
  font-size: 12px;
}

.universe .center {
  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  width: 112px;
  height: 112px;

  border-radius: 50%;

  color: white;
}

.u1 {
  left: 10%;
  top: 15%;
  padding: 12px;
}

.u2 {
  right: 8%;
  top: 17%;
  padding: 12px;
}

.u3 {
  left: 45%;
  top: 6%;
  padding: 12px;
}

.u4 {
  right: 9%;
  bottom: 14%;
  padding: 12px;
}

.u5 {
  left: 12%;
  bottom: 13%;
  padding: 12px;
}


/* =========================================================
   CAROUSEL
========================================================= */

.carousel {
  position: relative;

  margin: 0 clamp(12px, 3vw, 48px) 90px;

  overflow: hidden;

  border: 1px solid #1d3d49;
  border-radius: 22px;

  background: #07141c;
}

.track {
  display: flex;

  transition:
    transform .65s cubic-bezier(.22, .61, .36, 1);
}

.track img {
  min-width: 100%;
  width: 100%;

  aspect-ratio: 1920 / 785;

  object-fit: cover;
}

.carousel button {
  position: absolute;

  top: 50%;
  transform: translateY(-10%);

  width: 44px;
  height: 44px;

  border-radius: 50%;
  border: 0 solid rgba(255, 255, 255, .3);

  background: rgba(0, 0, 0, .45);

  color: white;

  cursor: pointer;
}

.prev {
  left: 16px;
}

.next {
  right: 16px;
}

.dots {
  position: absolute;

  left: 50%;
  bottom: 12px;

  transform: translateX(-50%);

  display: flex;
  gap: 6px;
}

.dots b {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #526b74;
}

.dots b.on {
  background: var(--lime);
}


/* =========================================================
   STATEMENT
========================================================= */

.statement {
  padding: 110px clamp(24px, 9vw, 170px);

  border-block: 1px solid #17343f;

  background:
    linear-gradient(
      90deg,
      rgba(10, 31, 41, .75),
      rgba(6, 19, 27, .35)
    );
}

.statement h2 {
  font-size: clamp(42px, 5vw, 76px);

  max-width: 1200px;

  margin: 10px 0;
}

.statement p {
  max-width: 850px;
}


/* =========================================================
   CARDS / DISCOVERY
========================================================= */

.cards {
  display: grid;

  grid-template-columns:
    1.35fr
    .825fr
    .825fr;

  gap: 14px;

  padding: 90px clamp(24px, 6vw, 110px);
}

.cards article {
  position: relative;

  min-height: 360px;

  padding: 28px;

  border: 1px solid var(--line);
  border-radius: 22px;

  background: var(--panel);
}

.cards .wide {
  min-height: 520px;
}

.cards h3 {
  font-size: clamp(28px, 2.6vw, 42px);

  margin: 10px 0 15px;
}

.cards p {
  color: var(--muted);

  line-height: 1.65;
}


/* =========================================================
   MINI GRAPH
========================================================= */

.mini {
  position: absolute;

  left: 22px;
  right: 22px;
  bottom: 22px;

  height: 235px;

  border: 1px solid #173945;
  border-radius: 18px;
}

.mini b,
.mini span {
  position: absolute;

  border: 1px solid #315766;
  border-radius: 999px;

  padding: 9px 12px;

  background: #0b1c25;

  font-size: 11px;
}

.mini b {
  left: 46%;
  top: 45%;
}

.mini span:nth-of-type(1) {
  left: 11%;
  top: 18%;
}

.mini span:nth-of-type(2) {
  right: 10%;
  top: 20%;
}

.mini span:nth-of-type(3) {
  right: 15%;
  bottom: 16%;
}

.mini span:nth-of-type(4) {
  left: 14%;
  bottom: 15%;
}


/* =========================================================
   SPLIT / MANAGE
========================================================= */

.split,
.manage {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: center;

  padding: 100px clamp(24px, 7vw, 130px);
}

.split h2,
.manage h2 {
  font-size: clamp(44px, 5vw, 72px);

  margin: 10px 0 20px;
}


/* =========================================================
   CHIPS
========================================================= */

.chips {
  display: flex;

  gap: 8px;

  flex-wrap: wrap;
}

.chips span {
  padding: 7px 10px;

  border: 1px solid #2c4d59;
  border-radius: 999px;

  color: #8299a1;

  font-size: 11px;
}


/* =========================================================
   DESKTOP / MI ESCRITORIO
========================================================= */

.desk {
  padding: 18px;

  border: 1px solid #284957;
  border-radius: 24px;

  background:
    linear-gradient(
      145deg,
      #0a1b24,
      #08171f
    );
}

.desk header {
  display: flex;

  justify-content: space-between;

  color: #6f8892;

  font-size: 11px;

  padding: 6px 4px 15px;
}

.desk article {
  position: relative;

  padding: 18px;

  border: 1px solid #23424e;
  border-radius: 15px;

  background: #091922;

  margin-top: 9px;
}

.desk article strong {
  display: block;

  margin-top: 7px;
}

.desk article em {
  position: absolute;

  right: 14px;
  top: 14px;

  color: #f4c667;

  font-style: normal;
}


/* =========================================================
   ACTION
========================================================= */

.action {
  padding: 110px clamp(24px, 6vw, 110px);

  background: #081820;

  border-block: 1px solid #173844;
}

.action h2 {
  font-size: clamp(44px, 5.5vw, 80px);

  max-width: 1100px;

  margin: 10px 0;
}

.action p {
  max-width: 900px;
}


/* =========================================================
   JOURNEY
========================================================= */

.journey {
  display: grid;

  grid-template-columns:
    1fr
    auto
    1fr
    auto
    1fr
    auto
    1fr;

  gap: 14px;

  align-items: center;

  margin-top: 50px;
}

.journey div {
  padding: 22px;

  border: 1px solid #284957;
  border-radius: 16px;

  background: #0a1b24;
}

.journey b {
  color: var(--lime);

  font-size: 10px;
}

.journey strong {
  display: block;

  margin: 7px 0;
}

.journey span {
  color: #738991;

  font-size: 12px;
}

.journey i {
  font-style: normal;

  color: #44616c;
}


/* =========================================================
   PROJECT RINGS
========================================================= */

.rings {
  position: relative;

  min-height: 520px;

  border: 1px solid #193b47;
  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(56, 113, 130, .18),
      transparent 65%
    );
}

.rings span {
  position: absolute;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  border: 1px solid #173743;
  border-radius: 50%;
}

.r1 {
  width: 220px;
  height: 220px;
}

.r2 {
  width: 340px;
  height: 340px;
}

.r3 {
  width: 460px;
  height: 460px;
}

.rings b,
.rings i {
  position: absolute;

  border: 1px solid #3b5c68;
  border-radius: 999px;

  background: #0b1d26;

  padding: 13px 18px;

  font-size: 12px;
  font-style: normal;
}

.rings b {
  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);
}

.p1 {
  left: 17%;
  top: 26%;
}

.p2 {
  right: 17%;
  top: 30%;
}

.p3 {
  right: 15%;
  bottom: 22%;
}

.p4 {
  left: 20%;
  bottom: 20%;
}


/* =========================================================
   CLOSING
========================================================= */

.closing {
  text-align: center;

  padding: 130px 22px 150px;
}

.closing h2 {
  font-size: clamp(44px, 5vw, 78px);

  max-width: 1280px;

  margin: 10px auto 22px;
}

.closing p {
  color: #81979f;

  margin-bottom: 28px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  display: flex;

  justify-content: space-between;

  padding: 28px clamp(24px, 5vw, 86px);

  border-top: 1px solid #173743;

  color: #667e87;

  font-size: 12px;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 980px) {

  .top nav {
    display: none;
  }

  .hero,
  .split,
  .manage {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .journey {
    grid-template-columns: 1fr;
  }

  .journey i {
    display: none;
  }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 620px) {

  .ghost {
    display: none;
  }

  .hero {
    padding: 70px 20px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .universe {
    min-height: 380px;
  }

  .statement,
  .cards,
  .split,
  .action,
  .manage {
    padding-inline: 20px;
  }

  .carousel {
    margin-inline: 8px;
  }

  .rings {
    min-height: 410px;
  }

  .r3 {
    width: 350px;
    height: 350px;
  }

  .r2 {
    width: 260px;
    height: 260px;
  }

  footer {
    flex-direction: column;
    gap: 10px;
  }

}
.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  width: 90px;
  height: 50px;
  object-fit: contain;

  /* Como el PNG tiene espacio transparente */
  transform: scale(3.5);
  transform-origin: center center;
}

.footer-text {
  line-height: 1.6;
}
