:root {
  --bg-0: #070a12;
  --bg-1: #0d1323;
  --bg-2: #121d34;
  --text-0: #f3f7ff;
  --text-1: #9ca9c6;
  --stroke: rgba(149, 170, 255, 0.24);
  --card-bg: rgba(14, 22, 40, 0.72);
  --card-solid: #10192d;
  --accent-cyan: #6ef4ff;
  --accent-orange: #ff9f66;
  --accent-lime: #8ef5b7;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-lg: 0 24px 60px rgba(3, 6, 15, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text-0);
  background: radial-gradient(circle at 15% 10%, rgba(110, 244, 255, 0.12), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(255, 159, 102, 0.14), transparent 30%),
    linear-gradient(145deg, var(--bg-0) 0%, var(--bg-1) 55%, var(--bg-2) 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background-image: linear-gradient(rgba(124, 151, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 151, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
}

body::after {
  z-index: -1;
  background: radial-gradient(circle at 20% 80%, rgba(142, 245, 183, 0.08), transparent 42%),
    radial-gradient(circle at 84% 78%, rgba(110, 244, 255, 0.1), transparent 38%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 2rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem 0.85rem 1.2rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  background: rgba(8, 13, 24, 0.72);
  z-index: 40;
}

.brand {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 1.2rem;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(232, 238, 255, 0.92);
  transition: color 220ms ease;
}

.site-nav a:hover {
  color: var(--accent-cyan);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: rgba(14, 22, 40, 0.92);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-direction: column;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text-0);
  border-radius: 10px;
  transition: transform 280ms ease;
}

main {
  padding-top: 5.8rem;
}

.section {
  width: min(1140px, calc(100% - 2.4rem));
  margin-inline: auto;
  padding: clamp(2.6rem, 5vw, 4.8rem) 0;
}

.hero {
  min-height: min(920px, calc(100vh - 5.8rem));
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(1.8rem, 4vw, 3.5rem);
}

.eyebrow {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-lime);
}

.hero-title {
  margin: 0.6rem 0 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.7rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 11ch;
}

.hero-title .word {
  display: inline-block;
  margin-right: 0.18em;
}

.hero-sub {
  margin: 1.4rem 0 0;
  max-width: 54ch;
  color: var(--text-1);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #081019;
  border-color: rgba(183, 207, 255, 0.24);
  background: transparent;
  box-shadow: 0 10px 30px rgba(110, 244, 255, 0.24);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, var(--accent-cyan), var(--accent-orange));
  z-index: -1;
}

.btn-primary:hover {
  box-shadow: 0 16px 35px rgba(110, 244, 255, 0.32);
}

.btn-ghost {
  border-color: var(--stroke);
  color: rgba(233, 239, 255, 0.94);
  background: rgba(14, 22, 40, 0.6);
}

.btn-ghost:hover {
  border-color: rgba(110, 244, 255, 0.55);
}

.facts {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.facts li {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(16, 25, 45, 0.85), rgba(11, 18, 33, 0.9));
}

.facts span {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-1);
}

.facts strong {
  font-size: 0.95rem;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.photo-shell {
  position: relative;
  width: min(430px, 92%);
  aspect-ratio: 4 / 5;
  border-radius: clamp(22px, 5vw, 36px);
  overflow: hidden;
  border: 1px solid rgba(139, 167, 255, 0.35);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.photo-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 9, 20, 0.62), transparent 45%);
}

.photo-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(133, 162, 255, 0.45);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
}

.orbit-a {
  inset: -12% -8% auto;
  height: 60%;
  animation: spin-cw 18s linear infinite;
}

.orbit-b {
  inset: auto -20% -16%;
  height: 66%;
  border-color: rgba(110, 244, 255, 0.34);
  animation: spin-ccw 22s linear infinite;
}

.glass-card {
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(19, 30, 55, 0.8), rgba(14, 23, 42, 0.72));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}

.status-panel {
  width: min(430px, 92%);
  padding: 1rem 1.1rem;
  border-radius: 16px;
}

.status-label {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-lime);
}

.status-title {
  margin: 0.45rem 0 0;
  color: rgba(236, 243, 255, 0.94);
  line-height: 1.5;
}

.section-head {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.section-tag {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.section-head h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  max-width: 20ch;
  line-height: 1.16;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-card {
  padding: 1.2rem 1.1rem;
  border-radius: var(--radius-md);
}

.about-card h3 {
  margin: 0;
  font-size: 1.06rem;
}

.about-card p {
  margin: 0.7rem 0 0;
  color: var(--text-1);
  line-height: 1.7;
}

.education-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.4vw, 1.8rem);
}

.edu-label {
  margin: 0;
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-lime);
}

.education-card h3 {
  margin: 0.55rem 0 0;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
}

.edu-meta {
  margin: 0.45rem 0 0;
  color: var(--text-1);
}

.edu-points {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
  color: rgba(236, 243, 255, 0.95);
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.chip {
  border-radius: 999px;
  padding: 0.62rem 1rem;
  border: 1px solid var(--stroke);
  background: rgba(15, 25, 46, 0.75);
  color: rgba(237, 244, 255, 0.96);
  font-weight: 600;
}

.project-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  background: linear-gradient(170deg, rgba(20, 31, 56, 0.88), rgba(12, 20, 36, 0.9));
  padding: 1.35rem 1.15rem;
  overflow: hidden;
  transition: transform 280ms ease, border-color 280ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(110, 244, 255, 0.45);
}

.project-index {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  color: rgba(110, 244, 255, 0.14);
  line-height: 1;
}

.project-card h3 {
  margin: 0.45rem 0 0;
  font-size: 1.15rem;
}

.project-card p {
  margin: 0.7rem 0 0;
  color: var(--text-1);
  line-height: 1.7;
}

.project-note {
  color: rgba(238, 244, 255, 0.95) !important;
  font-weight: 600;
}

.contact-panel {
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2.6rem);
  text-align: center;
}

.contact-panel h2 {
  margin: 0.35rem auto 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.6rem, 3.3vw, 2.6rem);
  max-width: 15ch;
}

.contact-panel p {
  margin: 1rem auto 1.5rem;
  max-width: 55ch;
  color: var(--text-1);
  line-height: 1.7;
}

.contact-links {
  margin: 1.1rem auto 0;
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  min-height: 48px;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(17, 27, 50, 0.85), rgba(13, 21, 39, 0.88));
  color: rgba(236, 243, 255, 0.95);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.social-btn:hover {
  transform: translateY(-2px);
}

.social-btn:focus-visible {
  outline: 2px solid rgba(110, 244, 255, 0.72);
  outline-offset: 2px;
}

.social-facebook:hover {
  border-color: rgba(96, 152, 255, 0.72);
  color: #d7e5ff;
  box-shadow: 0 10px 24px rgba(96, 152, 255, 0.22);
}

.social-whatsapp:hover {
  border-color: rgba(72, 228, 141, 0.78);
  color: #ddffee;
  box-shadow: 0 10px 24px rgba(72, 228, 141, 0.2);
}

.social-telegram:hover {
  border-color: rgba(84, 194, 255, 0.75);
  color: #d9f4ff;
  box-shadow: 0 10px 24px rgba(84, 194, 255, 0.24);
}

.social-youtube:hover {
  border-color: rgba(255, 110, 110, 0.8);
  color: #ffe1e1;
  box-shadow: 0 10px 24px rgba(255, 110, 110, 0.24);
}

.site-footer {
  padding: 0.9rem 1rem 1.8rem;
  text-align: center;
  color: rgba(206, 217, 244, 0.7);
  font-size: 0.88rem;
}

.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
  top: 0;
  left: 0;
  z-index: 5;
  background: radial-gradient(circle, rgba(110, 244, 255, 0.2), rgba(110, 244, 255, 0.02) 58%, transparent 72%);
  mix-blend-mode: screen;
  opacity: 0.8;
  will-change: transform;
}

.word-wrap {
  display: inline-block;
  overflow: hidden;
}

@keyframes spin-cw {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-ccw {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-copy {
    text-align: center;
    display: grid;
    justify-items: center;
  }

  .hero-sub {
    max-width: 60ch;
  }

  .facts {
    width: min(640px, 100%);
  }

  .section-head h2 {
    max-width: 100%;
  }

  .about-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    margin-inline: auto;
    width: min(360px, 100%);
    border-radius: 18px;
    border: 1px solid var(--stroke);
    background: rgba(8, 13, 24, 0.98);
    backdrop-filter: blur(10px);
    padding: 0.7rem;
    display: grid;
    gap: 0.2rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 260ms ease, opacity 260ms ease;
  }

  .site-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.66rem 0.75rem;
    border-radius: 12px;
  }

  .site-nav a:hover {
    background: rgba(27, 39, 69, 0.8);
  }

  .site-header.nav-open .menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .site-header.nav-open .menu-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
}

@media (max-width: 700px) {
  .section {
    width: min(1140px, calc(100% - 1.3rem));
    padding: 2.3rem 0;
  }

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

  .about-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    width: calc(100% - 1rem);
  }

  .brand {
    font-size: 0.84rem;
    letter-spacing: 0.03em;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }
}

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

  .cursor-glow {
    display: none;
  }
}
