/* CNI - Página /contacto/: tarjeta digital de Fede Fontanals (destino del QR único).
   Hereda cni-servicio.css (cabecera, pie) y cni-conecta.css (botones y fichas de redes). Sin colores nuevos. */

@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/fira-sans-700-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/fira-sans-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 800; font-display: swap;
  src: url(/assets/fonts/fira-sans-800-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 800; font-display: swap;
  src: url(/assets/fonts/fira-sans-800-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

html { color-scheme: dark; }

.ct-hero { position: relative; isolation: isolate; overflow: hidden; padding: 48px 0 96px; border-bottom: 1px solid var(--cx-line);
  background: radial-gradient(60% 55% at 85% 0%, rgba(230,207,162, 0.14), transparent 62%), radial-gradient(50% 50% at 0% 70%, rgba(185,131,150, 0.11), transparent 66%), var(--cx-bg); }
.ct-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--cx-panal); background-size: 70px 125px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 10%, transparent 75%); }
.ct-wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

.ct-card { position: relative; background: var(--cx-raised); border: 1px solid rgba(230,207,162, 0.35); border-radius: 16px; padding: 44px 24px 28px; text-align: center; }
.ct-card::before { content: ""; position: absolute; top: 0; left: 50%; width: 64px; height: 4px; margin-left: -32px; background: var(--cx-orange); border-radius: 0 0 2px 2px; }
.ct-avatar { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 3px solid var(--cx-orange); margin: 0 auto 18px; }
.ct-card h1 { font-family: var(--cx-display); font-weight: 800; font-size: clamp(2rem, 7vw, 2.9rem); line-height: 1.05; letter-spacing: -0.015em; color: var(--cx-ink); margin: 0; text-wrap: balance; }
.ct-brand { margin: 12px 0 0; font-family: var(--cx-display); font-weight: 700; font-size: 1.1rem; line-height: 1.3; color: var(--cx-gold); }
.ct-role { margin: 8px 0 0; font-size: 1.05rem; line-height: 1.5; color: var(--cx-ink); text-wrap: balance; }
.ct-place { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 0.95rem; color: var(--cx-muted); }
.ct-place svg { width: 18px; height: 18px; color: var(--cx-gold); flex: none; }

.ct-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.ct-actions .cx-btn { min-height: 64px; padding: 14px 12px; font-size: 1.05rem; }
.ct-direct { margin: 18px 0 0; font-size: 0.92rem; line-height: 1.7; color: var(--cx-muted); overflow-wrap: anywhere; }
.ct-direct a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cx-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--cx-orange); text-decoration-thickness: 2px; }

.ct-follow { margin-top: clamp(40px, 6vw, 64px); }
.ct-follow h2 { font-family: var(--cx-display); font-weight: 800; font-size: clamp(1.7rem, 4.5vw, 2.3rem); line-height: 1.1; letter-spacing: -0.015em; color: var(--cx-ink); margin: 0; }
.ct-follow h2::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--cx-orange); margin-top: 18px; }
.ct-follow > p { margin: 16px 0 24px; font-size: 1.02rem; line-height: 1.6; color: var(--cx-muted); max-width: 52ch; }

@media (prefers-reduced-motion: no-preference) {
  .ct-card { animation: ct-up 0.8s var(--cx-ease) both; }
  .ct-follow { animation: ct-up 0.8s var(--cx-ease) 0.2s both; }
}
@keyframes ct-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 560px) {
  .ct-hero { padding: 28px 0 64px; }
  .ct-card { padding: 40px 16px 24px; }
  .ct-actions { gap: 10px; }
  .ct-actions .cx-btn { gap: 8px; font-size: 1rem; }
  .ct-direct { display: grid; gap: 0; justify-items: center; }
  .ct-direct .ct-sep { display: none; }
}
