/* ==========================================================================
   NG Metrics — Home VISUAL (menos texto, fotos de fondo)
   ========================================================================== */

image-slot { display: block; }

/* ---------- HERO foto ---------- */
.vhero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.vhero .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.vhero .hero-bg image-slot { width: 100%; height: 100%; }
.vhero .hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.55) 45%, rgba(10,10,10,0.25) 100%),
    linear-gradient(0deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.1) 55%);
  pointer-events: none;
  z-index: 1;
}
.vhero .container { position: relative; z-index: 2; padding-bottom: 90px; padding-top: 120px; }
.vhero-content { max-width: 720px; }
.vhero h1 { font-size: clamp(44px, 7vw, 84px); margin: 0 0 20px; }
.vhero .lead { font-size: clamp(18px, 1.8vw, 22px); color: #d4d4d4; max-width: 560px; margin-bottom: 32px; }
.vhero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--color-text-muted); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint .arrow { width: 1px; height: 30px; background: linear-gradient(var(--color-accent), transparent); animation: drop 1.8s ease-in-out infinite; }
@keyframes drop { 0%,100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- SERVICIOS foto ---------- */
.vservices { padding: var(--section-pad) 0; }
.vservices .section-head { text-align: center; margin-bottom: 44px; }
.vservices .label { justify-content: center; }
.vcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vcard {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: block;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.vcard:hover { transform: translateY(-6px); border-color: var(--color-accent); }
.vcard image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.vcard .vcard-grad {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,10,0.95) 8%, rgba(10,10,10,0.35) 45%, rgba(10,10,10,0.08) 100%);
  pointer-events: none; z-index: 1;
}
.vcard .vcard-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px 26px; pointer-events: none; }
.vcard .vcard-icon { font-size: 28px; margin-bottom: 12px; }
.vcard h3 { font-size: 23px; margin-bottom: 6px; }
.vcard .vcard-tag { color: var(--color-accent); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; }
.vcard .vcard-arrow {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(10,10,10,0.6); border: 1px solid var(--color-border-hi);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  transition: background 0.3s, color 0.3s; color: #fff;
}
.vcard:hover .vcard-arrow { background: var(--color-accent); color: #000; }

/* ---------- CASO foto ---------- */
.vcase { padding: var(--section-pad) 0; }
.vcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.vcase-content .big { font-size: clamp(90px, 15vw, 168px); font-weight: 700; color: var(--color-accent); line-height: 0.86; letter-spacing: -0.05em; margin: 8px 0 18px; }
.vcase-content p { font-size: 19px; color: #cfcfcf; max-width: 420px; margin-bottom: 28px; }
.vcase-content p b { color: #fff; }
.vcase-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; border: 1px solid var(--color-border); }
.vcase-photo image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.vcase-chip {
  position: absolute; bottom: 20px; left: 20px; z-index: 2;
  background: rgba(10,10,10,0.78); backdrop-filter: blur(8px);
  border: 1px solid var(--color-border-hi); border-radius: 12px;
  padding: 14px 18px; pointer-events: none;
}
.vcase-chip .cc-num { font-size: 26px; font-weight: 700; color: var(--color-accent); line-height: 1; }
.vcase-chip .cc-lbl { font-size: 12px; color: var(--color-text-muted); margin-top: 4px; }

/* ---------- CTA foto ---------- */
.vcta { padding: var(--section-pad) 0; }
.vcta-box {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--color-border);
  text-align: center; padding: 96px 40px;
}
.vcta-box image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.vcta-box .vcta-grad { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,10,0.92), rgba(10,10,10,0.7)); pointer-events: none; z-index: 1; }
.vcta-box > *:not(image-slot):not(.vcta-grad) { position: relative; z-index: 2; }
.vcta-box .label { justify-content: center; }
.vcta-box h2 { margin-bottom: 26px; }
.vcta-box .cta-sub { color: var(--color-text-muted); font-size: 14px; margin-top: 16px; }

@media (max-width: 900px) {
  .vcards { grid-template-columns: 1fr; }
  .vcard { aspect-ratio: 16 / 10; }
  .vcase-grid { grid-template-columns: 1fr; gap: 36px; }
  .vcase-content { order: 2; }
}

/* hint that slots are fillable */
image-slot::part(placeholder), .slot-note { }
.slot-note {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.45); border: 1px solid var(--color-border);
  padding: 4px 8px; border-radius: 5px; pointer-events: none;
}
