/*
 * notch.css — Franja footer + pantalla de cobertura
 */

/* ── Franja fija ──────────────────────────────────────────────────────────── */
.site-notch {
  flex-shrink: 0;
  position: relative;
  z-index: var(--z-header);
}

.site-notch__handle {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-3) clamp(var(--space-6), 5.5vw, var(--space-16));
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: var(--size-xxs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast);
  user-select: none;
}

.site-notch__handle:hover {
  background: var(--surface-2);
  color: var(--accent);
}

.site-notch__pill {
  display: none;
  width: 32px;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--line-2);
  flex-shrink: 0;
}

.site-notch__label {
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-notch__chevron {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease);
}

.site-notch__handle[aria-expanded="true"] .site-notch__chevron {
  transform: rotate(180deg);
}

/* ── Pantalla de cobertura ────────────────────────────────────────────────── */
.site-cover {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: #0A0A0A;

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

  /* Empieza fuera de pantalla, abajo */
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-cover.is-open {
  transform: translateY(0);
}

/* Botón cerrar */
.site-cover__close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  transition: background var(--dur-fast), color var(--dur-fast);
}

.site-cover__close:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

.site-cover__close [data-lucide] {
  width: 20px;
  height: 20px;
}

/* Contenido centrado */
.site-cover__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-16) var(--space-6);
  text-align: center;
  max-width: 480px;
  width: 100%;
}

.site-cover__logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  object-fit: contain;
  opacity: 0.9;
}

.site-cover__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: var(--weight-black);
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.site-cover__slogan {
  font-size: var(--size-sm);
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.site-cover__desc {
  font-size: var(--size-sm);
  color: rgba(255,255,255,0.55);
  line-height: var(--leading-normal);
}

.site-cover__meta {
  display: flex;
  gap: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--size-xxs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

.site-cover__social {
  display: flex;
  gap: var(--space-5);
  margin-top: var(--space-2);
}

.site-cover__social a {
  color: rgba(255,255,255,0.35);
  transition: color var(--dur-fast);
}

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

.site-cover__social [data-lucide] {
  width: 20px;
  height: 20px;
}

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-notch__handle {
    justify-content: center;
    padding: var(--space-2) var(--space-4) var(--space-3);
  }

  .site-notch__pill    { display: block; }
  .site-notch__label   { display: none; }
  .site-notch__chevron { display: none; }
}