:root {
  --sec-bg: #1a0a2e;
  --sec-surface: rgba(26, 10, 46, 0.86);
  --sec-surface-soft: rgba(255, 255, 255, 0.05);
  --sec-border: rgba(255, 255, 255, 0.14);
  --sec-text: #f7f4ee;
  --sec-muted: rgba(247, 244, 238, 0.78);
  --sec-accent: #00d4ff;
  --sec-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--sec-text);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  background:
    linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.86)),
    radial-gradient(
      circle at top left,
      rgba(0, 212, 255, 0.1),
      transparent 34%
    ),
    url("../img/backgorund-jovenes.jpg") center / cover no-repeat;
  overflow-x: hidden;
}

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

body::before {
  background:
    radial-gradient(
      circle at 20% 16%,
      rgba(255, 255, 255, 0.08),
      transparent 24%
    ),
    radial-gradient(circle at 78% 72%, rgba(0, 212, 255, 0.09), transparent 18%);
  mix-blend-mode: screen;
}

body::after {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 150px 150px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.sec-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  padding: clamp(2.75rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.sec-home-btn {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 0.62rem 0.9rem;
  border: 1px solid rgba(246, 246, 246, 0.24);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.72);
  color: var(--sec-text);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 0.84rem;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.sec-copy,
.sec-visual {
  position: relative;
  z-index: 1;
}

.sec-copy {
  max-width: 640px;
  padding-right: clamp(0rem, 1.5vw, 1rem);
}

.sec-kicker {
  margin: 0 0 0.4rem;
  color: rgba(247, 244, 238, 0.58);
  font-size: 1rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.sec-copy h1,
.sec-closing p {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sec-copy h1 {
  font-size: clamp(3.6rem, 8.8vw, 7.2rem);
  line-height: 0.92;
}

.sec-brush,
.sec-closing-brush {
  display: block;
  height: 16px;
  width: clamp(140px, 22vw, 260px);
  margin-top: 0.85rem;
  border-radius: 999px;
  background: var(--sec-accent);
  clip-path: polygon(
    0 60%,
    2% 40%,
    8% 55%,
    18% 32%,
    27% 48%,
    36% 26%,
    47% 44%,
    60% 22%,
    72% 38%,
    84% 28%,
    100% 42%,
    100% 86%,
    0 100%
  );
  filter: drop-shadow(0 8px 18px rgba(0, 212, 255, 0.32));
}

.sec-intro {
  margin: 2rem 0 2.2rem;
  max-width: 35rem;
  color: var(--sec-muted);
  font-size: clamp(1.18rem, 1.9vw, 1.55rem);
  line-height: 1.26;
  text-align: justify;
  text-wrap: pretty;
}

.sec-points {
  display: grid;
  gap: 1.55rem;
}

.sec-point {
  position: relative;
  padding-left: 1.2rem;
}

.sec-point::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, #00b4d8 0%, var(--sec-accent) 100%);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.28);
}

.sec-point p {
  margin: 0;
  color: var(--sec-muted);
  font-size: clamp(1.08rem, 1.75vw, 1.38rem);
  line-height: 1.24;
  text-align: justify;
  text-wrap: pretty;
}

.sec-point strong {
  color: var(--sec-text);
  font-weight: 700;
}

.sec-point span {
  color: var(--sec-accent);
  font-weight: 700;
}

.sec-contact {
  margin-top: 2.25rem;
  padding: 1.35rem 1.5rem;
  max-width: 560px;
  border: 1px solid var(--sec-border);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: var(--sec-shadow);
}

.sec-contact h2 {
  margin: 0 0 1rem;
  color: var(--sec-accent);
  font-size: 1.45rem;
  letter-spacing: 0.24em;
}

.sec-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
}

.sec-contact-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  color: var(--sec-text);
  text-decoration: none;
}

.sec-contact-item small {
  display: block;
  color: rgba(247, 244, 238, 0.66);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.sec-contact-item strong {
  display: block;
  color: var(--sec-accent);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sec-contact-item:hover {
  opacity: 0.8;
}

.sec-contact-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--sec-accent);
}

.sec-visual {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 1.2rem;
  align-items: center;
  justify-items: center;
}

.sec-photo-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
}

.sec-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sec-emblem {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}

.sec-emblem-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 2px solid rgba(0, 212, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: rgba(0, 212, 255, 0.3);
  letter-spacing: 0.2em;
  animation: spin 20s linear infinite;
  text-transform: uppercase;
}

.sec-emblem-core {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(26, 10, 46, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--sec-accent);
  font-family: "Anton", Impact, sans-serif;
  backdrop-filter: blur(8px);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.sec-arrow {
  width: 220px;
  height: 80px;
  color: rgba(0, 212, 255, 0.5);
}

.sec-closing {
  text-align: center;
}

.sec-closing p {
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  line-height: 0.9;
}

.sec-closing p:first-child {
  color: rgba(247, 244, 238, 0.4);
  margin-bottom: -0.2em;
}

.sec-closing p:last-child {
  color: var(--sec-accent);
}

.sec-dots {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.sec-dots--top {
  top: 10%;
  right: 5%;
  width: 300px;
  height: 300px;
  background-image: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.12) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
}

.sec-dots--bottom {
  bottom: 10%;
  left: 5%;
  width: 250px;
  height: 250px;
  background-image: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.12) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
}

@media (max-width: 1024px) {
  .sec-page {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sec-visual {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .sec-page {
    padding: 3rem 1rem 2rem;
  }

  .sec-home-btn {
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }

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

  .sec-photo-frame {
    max-width: 100%;
  }
}
