/* FREAK33 · CONTACTO: edita los colores principales en :root */
:root {
  --night: #040b1e;
  --ice: #eaf7ff;
  --muted: #9bbce7;
  --blue: #42bfff;
  --cyan: #79e8ff;
  --violet: #7d72ff;
  --line: rgba(111, 194, 255, 0.28);
  --font: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ice);
  font-family: var(--font);
  
  background:
    radial-gradient(
      ellipse at 12% 42%,
      rgba(12, 88, 181, 0.36),
      transparent 35rem
    )
    ,
    radial-gradient(
      ellipse at 78% 85%,
      rgba(99, 53, 197, 0.24),
      transparent 32rem
    )
    ,
    linear-gradient(135deg, #03091b 0%, #071a3c 52%, #050b20 100%)
  ;
  background-image: url("freak-a-la-deriva.png");
  background-repeat: no-repeat;
      background-size: cover;
      background-position: center;
  
  overflow-x: hidden;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}
a {
  color: inherit;
}
.sky-glow {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
  animation: glowDrift 13s ease-in-out infinite alternate;
}
.sky-glow--one {
  background: #087fff;
  top: 10%;
  left: -14rem;
}
.sky-glow--two {
  background: #794aff;
  right: -14rem;
  bottom: -5rem;
  animation-delay: -6s;
}
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #d8f5ff;
  border-radius: 50%;
  box-shadow: 0 0 9px 2px rgba(91, 199, 255, 0.7);
  animation: twinkle var(--duration, 3s) ease-in-out infinite alternate;
}
.topbar {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(125, 191, 255, 0.15);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ice);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.15em;
  font-size: 0.95rem;
}
.brand > span:last-child span {
  color: var(--blue);
}
.brand-mark {
  color: var(--cyan);
  font-size: 1.8rem;
  text-shadow: 0 0 18px var(--blue);
}
.topbar-note,
.eyebrow,
.panel-index,
.panel-footer,
.site-footer,
.link-value,
.scene-caption {
  font-family: var(--mono);
  letter-spacing: 0.11em;
  font-size: 0.64rem;
}
.topbar-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8ca9d2;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6cffc3;
  box-shadow: 0 0 12px #6cffc3;
}
.layout {
  width: min(1190px, calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(52px, 8vw, 108px) 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  align-items: start;
  gap: clamp(44px, 8vw, 120px);
}
.intro {
  position: sticky;
  top: 48px;
  min-height: 550px;
  padding-top: 28px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cyan);
}
.eyebrow-line {
  width: 34px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
h1 {
  margin: 25px 0 0;
  font-family: "Permanent Marker", cursive;
  font-size: clamp(4.3rem, 8vw, 7.5rem);
  line-height: 1.16;
  font-weight: 400;
  letter-spacing: -0.055em;
  text-shadow: 0 0 30px rgba(59, 171, 255, 0.3);
}
.title-spark {
  display: inline-block;
  color: var(--cyan);
  font-family: var(--font);
  font-size: 0.4em;
  vertical-align: top;
  margin: 0.15em 0 0 0.25em;
  animation: sparkle 3s ease-in-out infinite;
}
.title-underline {
  height: 3px;
  width: min(340px, 90%);
  margin: 18px 0 28px;
  background: linear-gradient(90deg, var(--violet), var(--blue), transparent);
  transform: rotate(-4deg);
  box-shadow: 0 0 16px rgba(66, 191, 255, 0.8);
}
.intro-copy {
  color: #b9ddff;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  line-height: 1.8;
  margin: 0;
}
.intro-copy em {
  color: var(--cyan);
  font-style: normal;
}
.note {
  position: relative;
  width: min(290px, 82%);
  margin: 48px 0 0 auto;
  padding: 25px 27px 18px;
  color: #12305c;
  background: linear-gradient(
    145deg,
    rgba(224, 244, 255, 0.95),
    rgba(155, 205, 255, 0.86)
  );
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.25),
    0 0 35px rgba(58, 160, 255, 0.14);
  transform: rotate(4deg);
  clip-path: polygon(2% 0, 100% 3%, 97% 100%, 0 96%);
}
.note:after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(15, 60, 110, 0.12);
  pointer-events: none;
}
.note-pin {
  position: absolute;
  width: 70px;
  height: 18px;
  top: -8px;
  left: 38%;
  background: rgba(62, 150, 255, 0.45);
  transform: rotate(-8deg);
}
.note p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 700;
}
.note-sign {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  margin-top: 8px;
}
.scene-caption {
  position: absolute;
  bottom: 8px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7098ca;
  font-size: 0.56rem;
}
.caption-line {
  width: 28px;
  height: 1px;
  background: #3b91df;
}
.contact-panel {
  position: relative;
  padding: clamp(24px, 4vw, 42px);
  background: linear-gradient(
    145deg,
    rgba(8, 30, 69, 0.88),
    rgba(4, 15, 39, 0.78)
  );
  border: 1px solid rgba(133, 208, 255, 0.48);
  box-shadow:
    0 0 0 5px rgba(45, 139, 255, 0.035),
    0 25px 90px rgba(0, 0, 0, 0.35),
    inset 0 0 45px rgba(39, 125, 255, 0.06);
  backdrop-filter: blur(18px);
}
.contact-panel:before,
.contact-panel:after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
  border-color: var(--cyan);
  border-style: solid;
  opacity: 0.9;
}
.contact-panel:before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}
.contact-panel:after {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0;
}
.panel-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.panel-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}
.sparkle {
  color: var(--cyan);
  font-size: 1.4rem;
  vertical-align: -2px;
  margin-right: 8px;
  text-shadow: 0 0 15px var(--blue);
}
.panel-index {
  color: #678cb9;
  font-size: 0.58rem;
}
.contact-group {
  padding: 25px 0 28px;
  border-bottom: 1px solid var(--line);
}
.contact-group--compact {
  padding: 24px 0;
}
.group-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.group-heading h2 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.heading-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(91, 200, 255, 0.8), transparent);
}
.group-description {
  color: #759cc8;
  font-size: 0.82rem;
  margin: 7px 0 18px;
}
.contact-link {
  display: grid;
  grid-template-columns: 44px minmax(90px, 0.7fr) minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  margin-top: 9px;
  padding: 9px 12px;
  text-decoration: none;
  border: 1px solid rgba(81, 153, 224, 0.25);
  border-radius: 9px;
  background: rgba(6, 31, 72, 0.48);
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}
.contact-link:hover,
.contact-link:focus-visible {
  outline: none;
  border-color: rgba(94, 219, 255, 0.85);
  background: rgba(12, 61, 116, 0.58);
  transform: translateX(4px);
  box-shadow:
    0 0 22px rgba(33, 153, 255, 0.12),
    inset 0 0 16px rgba(61, 169, 255, 0.06);
}
.social-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(88, 180, 255, 0.35);
  border-radius: 8px;
  color: #dff8ff;
  background: rgba(44, 126, 207, 0.11);
}
.social-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.social-icon svg rect,
.social-icon svg circle:not(.icon-fill) {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.social-icon svg .icon-fill {
  fill: currentColor;
}
.social-letter {
  font-size: 1.45rem;
}
.link-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.link-copy strong {
  font-size: 0.84rem;
  font-weight: 700;
}
.link-copy small {
  color: #83a9d2;
  font-size: 0.67rem;
}
.link-value {
  color: #6fa9df;
  font-size: 0.57rem;
  letter-spacing: 0.04em;
  text-align: right;
  overflow-wrap: anywhere;
}
.external-icon {
  color: var(--cyan);
  font-size: 1.2rem;
  text-align: right;
}
.email-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  min-height: 56px;
  padding: 9px 12px;
  border: 1px solid rgba(81, 153, 224, 0.32);
  border-radius: 9px;
  background: rgba(6, 31, 72, 0.48);
}
.email-icon {
  color: var(--cyan);
  font-size: 1.35rem;
}
.email-address {
  flex: 1;
  overflow-wrap: anywhere;
  color: #cde8ff;
  font-family: var(--mono);
  font-size: 0.78rem;
}
.copy-button {
  border: 0;
  background: transparent;
  color: #a6d7ff;
  padding: 6px;
  cursor: pointer;
  border-radius: 5px;
}
.copy-button:hover,
.copy-button:focus-visible {
  outline: 1px solid var(--cyan);
  color: white;
}
.copy-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.email-cta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 13px;
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.8rem;
}
.email-cta:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.copy-feedback {
  min-height: 1em;
  margin: 7px 0 0;
  color: #7effd0;
  font-size: 0.72rem;
}
.featured-link {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 15px;
  border: 1px solid rgba(81, 153, 224, 0.3);
  border-radius: 9px;
  background: linear-gradient(
    100deg,
    rgba(33, 91, 165, 0.22),
    rgba(9, 29, 65, 0.25)
  );
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.featured-link:hover {
  border-color: var(--cyan);
  background: rgba(24, 75, 134, 0.35);
}
.featured-symbol {
  color: var(--cyan);
  font-size: 1.8rem;
}
.featured-link > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}
.featured-link strong {
  font-size: 0.85rem;
}
.featured-link small {
  color: #83a9d2;
  font-size: 0.7rem;
}
.panel-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 25px;
  color: #7098c6;
  font-size: 0.55rem;
}
.footer-coordinate {
  color: #4c75a7;
}
.site-footer {
  width: min(1190px, calc(100% - 64px));
  margin: 0 auto;
  padding: 20px 0 30px;
  border-top: 1px solid rgba(125, 191, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #6486b1;
  font-size: 0.57rem;
}
.site-footer a {
  text-decoration: none;
  color: #8abce9;
}
.site-footer a:hover {
  color: var(--cyan);
}
.heart {
  color: #72dfff;
  text-shadow: 0 0 8px #2b9fff;
}
@keyframes twinkle {
  from {
    opacity: 0.2;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1.3);
  }
}
@keyframes sparkle {
  0%,
  100% {
    opacity: 0.65;
    transform: rotate(0) scale(0.9);
  }
  50% {
    opacity: 1;
    transform: rotate(15deg) scale(1.15);
  }
}
@keyframes glowDrift {
  from {
    transform: translate3d(0, 0, 0) scale(0.9);
  }
  to {
    transform: translate3d(40px, -25px, 0) scale(1.12);
  }
}
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
  }
  .intro {
    position: relative;
    top: auto;
    min-height: auto;
    padding: 0 0 35px;
  }
  h1 {
    font-size: clamp(4.2rem, 12vw, 6.5rem);
  }
  .note {
    margin-top: 32px;
    margin-right: 4%;
  }
  .scene-caption {
    bottom: 0;
  }
  .contact-panel {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
  }
}
@media (max-width: 560px) {
  .topbar,
  .layout,
  .site-footer {
    width: calc(100% - 32px);
  }
  .topbar {
    padding: 20px 0;
  }
  .topbar-note {
    font-size: 0.48rem;
    gap: 6px;
  }
  .brand {
    font-size: 0.8rem;
  }
  .layout {
    padding: 42px 0 55px;
  }
  .intro {
    padding-top: 8px;
  }
  h1 {
    font-size: clamp(3.8rem, 16vw, 5rem);
  }
  .intro-copy {
    font-size: 1rem;
  }
  .note {
    width: 245px;
    padding: 21px 23px 16px;
  }
  .contact-panel {
    padding: 22px 16px;
  }
  .panel-label {
    font-size: 0.62rem;
  }
  .panel-index {
    font-size: 0.5rem;
  }
  .contact-link {
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    gap: 10px;
    padding: 8px;
  }
  .social-icon {
    width: 38px;
    height: 38px;
  }
  .link-value {
    display: none;
  }
  .link-copy strong {
    font-size: 0.8rem;
  }
  .link-copy small {
    font-size: 0.64rem;
  }
  .site-footer {
    flex-wrap: wrap;
    font-size: 0.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
