/* perfil-style.css — Perfil único de constructor (basado en style.css original) */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');


* { box-sizing: border-box; }

:root {
  --text-main: #ffffff;
  --text-soft: #d7dee8;
  --text-faint: #93a2b8;

  /* AccroMx palette */
  --accent: #1c3f66;
  --accent-hover: #2a5789;
  --accent-highlight: #8fb8e0;
  --verified-green: #2fbf6e;
  --grid-line: rgba(30, 68, 110, 0.22);
}

body {
  user-select: none;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0a0e14;
   background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(45deg, var(--grid-line) 1px, transparent 1px);
         background-size: 18px 18px;
         linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
      background-size: 18px 18px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow: hidden;
}

/* ---------- liquid glass card (mechanics unchanged from original) ---------- */

.liquid-glass {
  --scale-factor: 1;

  width: 80vw;
  max-width: 560px;
  min-width: 300px;
  min-height: 80vh;
  max-height: 720px;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 28px;
  isolation: isolate;
  position: relative;
  box-shadow: 0 24px 96px rgba(2, 6, 16, 0.65), inset 0 1px 0 rgba(255,255,255, 0.8);

  cursor: grab;
  transition: all 300ms cubic-bezier(255, 255, 255, 1);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;

  will-change: transform, left, top;

  transform: scale(var(--scale-factor));
}

.liquid-glass.dragging {
  cursor: grabbing;
  transition: none !important;

  transform: scale(calc(var(--scale-factor) + 0.03)) translateY(-4px);
  z-index: 1000;
  box-shadow: 0 322px 120px rgba(255, 255, 255, 0.7), inset 0 1px 0 rgba(143, 184, 224, 0.3);
}

.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 28px;
  border: 3px solid rgba(255, 255, 224, 0.56);
  background-color: rgba(10, 14, 22, 0.35);
  background-image: linear-gradient(135deg, rgba(143, 184, 224, 0.1), transparent 50%);
  pointer-events: none;
}

.liquid-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  filter: url(#liquid-glass-distortion);
  -webkit-filter: url(#liquid-glass-distortion);
  isolation: isolate;
  pointer-events: none;
}

.liquid-glass:not(.dragging):hover {
  transform: scale(var(--scale-factor)) translateY(-4px);
}

@media (max-width: 768px) {
  .liquid-glass::after {
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  }

  .liquid-glass {
    width: 85vw;
    min-width: unset;
    min-height: 70vh;
    max-height: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .liquid-glass { transition: none; }
}

/* ---------- content ---------- */

.profile-card-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  text-align: center;
}

.profile-avatar-border {
  position: relative;
  width: clamp(78px, 12vw, 130px);
  height: clamp(78px, 12vw, 130px);
  border-radius: 50%;
  padding: 2px;
  background: rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.avatar-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  
font-family: 'Dancing Script', cursive;
font-weight: 600;

  font-weight: 800;
  font-size: clamp(1.9rem, 2.9vw, 3.9rem);
  pointer-events: none;
}

.avatar-foto {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.profile-info h2 {
    
font-family: 'Playfair Display', serif;

font-weight: 600;


  font-size: clamp(1.25rem, 1.9vw, 1.9rem);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 3px 0;
  letter-spacing: 0.4px;
  pointer-events: none;
}

.profile-info p {
  font-size: clamp(1.25rem, 1.9vw, 1.9rem);
  font-weight: 400;
  color: var(--accent-highlight);
  font-style: italic;
  margin: 0 0 4px 0;
  font-family: 'IBM Plex Mono', monospace;
  pointer-events: none;
}

.profile-info p.empresa {
  color: var(--text-faint);
  font-family: 'Inter', sans-serif;
  margin-bottom: 12px;
}

.profile-stats {
  display: flex;
  gap: 22px;
  margin-bottom: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(143, 184, 224, 0.8);
  width: 90%;
  justify-content: center;
  pointer-events: none;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-family: 'Big Shoulders Display', sans-serif;
 font-size: clamp(1.25rem, 1.9vw, 1.9rem);
  font-weight: 700;
  color: var(--accent-highlight);
}

.stat-label {
font-size: clamp(1.25rem, 1.9vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-faint);
  margin-top: 2px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
  pointer-events: none;
}

.tag {
 font-size: clamp(1.25rem, 1.9vw, 1.9rem);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(28, 63, 102, 0.35);
  border: 1px solid rgba(143, 184, 224, 0.5);
  color: var(--text-soft);
}

.profile-desc {
  font-size: clamp(0.76rem, 1.05vw, 1.05rem);
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0 0 16px;
  pointer-events: none;
}

.contact-btn {
  background: var(--accent);
  border: none;
  color: #ffffff;
  padding: clamp(9px, 1.2vw, 14px) clamp(20px, 2.6vw, 30px);
  border-radius: 8px;
  font-size: clamp(0.8rem, 1.1vw, 1.1rem);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  margin-bottom: 14px;
}

.contact-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}

.mail-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.zoom-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.zoom-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--text-main);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
  line-height: 1;
}

.zoom-btn:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: scale(1.1);
}

.zoom-btn:active {
  transform: scale(0.95);
}

/* ---------- not-found state ---------- */

.liquid-glass.not-found {
  cursor: default;
  min-height: 260px;
}

.not-found-icon {
  width: 34px;
  height: 34px;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.not-found h2 {
  font-family: 'Big Shoulders Display', sans-serif;
  text-transform: uppercase;
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.not-found p {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin: 0 0 28px;
}
