/* ============================================================
   VOLUM TECHNOLOGIES — Experiences Page
   ============================================================ */

/* ── HERO ── */
.exp-hero {
 min-height: 88vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 100px clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
}

.exp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 55% at 65% 40%, var(--hero-glow, rgba(0,152,253,0.12)) 0%, transparent 68%);
  pointer-events: none; z-index: 0;
}

.exp-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,152,253,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,152,253,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none; z-index: 0;
}

.exp-hero-inner {
  max-width: 1100px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; gap: 5rem;
  justify-content: center;
  position: relative; z-index: 1;
}

.exp-hero-text { flex: 0 1 520px; min-width: 0; }

.exp-hero-visual {
  flex: 0 0 400px;
  display: flex; align-items: center; justify-content: center;
}
.exp-hero-img {
  width: 100%; max-width: 420px;
  filter: drop-shadow(0 30px 70px rgba(0,152,253,0.18));
  animation: fadeUp 1s ease 0.3s both;
}

.exp-hero-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  background: rgba(0,152,253,0.1);
  border: 1px solid rgba(0,152,253,0.25);
  color: var(--primary); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.05em; text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.exp-hero-cta:hover {
  background: rgba(0,152,253,0.18);
  border-color: rgba(0,152,253,0.4);
}
.exp-hero-cta svg {
  width: 14px; height: 14px; stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s;
}
.exp-hero-cta:hover svg { transform: translateX(3px); }

/* Experiencies placeholder */
.exp-hero-placeholder {
  width: 380px; height: 300px;
  background: linear-gradient(135deg, #060d1e 0%, #0b1830 100%);
  border: 1px solid rgba(0,152,253,0.14);
  border-radius: 14px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  animation: fadeUp 1s ease 0.3s both;
}
.exp-hero-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,152,253,0.2) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
}
.exp-hero-placeholder-icon {
  position: relative; z-index: 1;
  width: 72px; height: 72px;
  background: rgba(0,152,253,0.1);
  border: 1px solid rgba(0,152,253,0.2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.exp-hero-placeholder-icon svg {
  width: 32px; height: 32px;
  stroke: var(--primary); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* breadcrumb */
.exp-breadcrumb {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 2rem;
  animation: fadeUp 0.9s ease 0s both;
  display: flex; align-items: center; gap: 0.5rem;
}
.exp-breadcrumb a {
  color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s;
}
.exp-breadcrumb a:hover { color: var(--primary); }

/* experiencies title */
.exp-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700; line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.9s ease 0.25s both;
}
.exp-title .grad {
  background: linear-gradient(120deg, #0098FD 0%, #a040d0 45%, #FF488F 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.exp-tagline {
  font-size: clamp(1rem, 1.8vw, 1.2rem); font-weight: 300;
  color: rgba(255,255,255,0.52); line-height: 1.6;
  margin-bottom: 0.85rem;
  animation: fadeUp 0.9s ease 0.35s both;
}

.exp-hero-desc {
  font-size: 0.9rem; font-weight: 300;
  color: rgba(255,255,255,0.36); line-height: 1.8;
  max-width: 500px; margin-bottom: 2.5rem;
  animation: fadeUp 0.9s ease 0.45s both;
}

.exp-hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.9s ease 0.55s both;
}


/* ── SERVICES — VERTICAL TABS ── */
.exp-services {
  background: #000;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.exp-services-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 5fr 7fr;
  gap: clamp(3rem, 6vw, 6rem); align-items: start;
}

/* Left — tabs panel */
.vtabs-panel { display: flex; flex-direction: column; }
.vtabs-heading { margin-bottom: 3rem; }
.vtabs-heading h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.vtabs-heading .vtabs-sub {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
}
.vtab-list { display: flex; flex-direction: column; }

.vtab-item {
  position: relative;
  display: flex; align-items: flex-start; gap: 1.1rem;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  cursor: pointer; text-align: left;
  background: none; border-left: none; border-right: none; border-bottom: none;
  color: rgba(255,255,255,0.32);
  transition: color 0.4s;
  width: 100%;
}
.vtab-item:first-child { border-top: none; }
.vtab-item.active { color: #fff; }
.vtab-item:hover:not(.active) { color: rgba(255,255,255,0.65); }

/* Vertical progress line */
.vtab-progress {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: rgba(255,255,255,0.07);
  overflow: hidden;
}
.vtab-progress-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(168,85,247,0.7) 100%);
}
.vtab-progress-fill.running {
  animation: vtabFill var(--vtab-duration, 5s) linear forwards;
}
@keyframes vtabFill { from { height: 0%; } to { height: 100%; } }

.vtab-num {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.08em;
  opacity: 0.35; margin-top: 0.45rem; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.vtab-body { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.vtab-title {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1.2;
  transition: color 0.4s;
}
.vtab-desc {
  font-size: 0.83rem; font-weight: 300; line-height: 1.72;
  color: rgba(255,255,255,0.45); max-width: 360px;
  overflow: hidden; max-height: 0; opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.23,1,0.32,1), opacity 0.35s;
}
.vtab-item.active .vtab-desc { max-height: 200px; opacity: 1; }

/* Right — gallery panel */
.vtabs-gallery { position: sticky; top: 5.5rem; }
.vtabs-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  background: #06101f;
  cursor: pointer;
}
.vtab-slide {
  position: absolute; inset: 0;
  will-change: transform, opacity;
  opacity: 0;
  transform: translateY(100%);
}
.vtab-slide.active {
  opacity: 1; transform: translateY(0);
  transition: transform 0.55s cubic-bezier(0.23,1,0.32,1), opacity 0.4s;
  z-index: 2;
}
.vtab-slide.exit-up {
  opacity: 0; transform: translateY(-100%);
  transition: transform 0.55s cubic-bezier(0.23,1,0.32,1), opacity 0.4s;
  z-index: 1;
}
.vtab-slide.exit-down {
  opacity: 0; transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(0.23,1,0.32,1), opacity 0.4s;
  z-index: 1;
}
.vtab-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s ease;
}
.vtabs-img-wrap:hover .vtab-slide.active img { transform: scale(1.03); }
.vtab-slide-placeholder {
  width: 100%; height: 100%;
  background-image: radial-gradient(circle, rgba(0,152,253,0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  display: flex; align-items: center; justify-content: center;
}
.vtab-slide-placeholder svg {
  width: 60px; height: 60px; opacity: 0.09;
  stroke: var(--primary); fill: none; stroke-width: 1;
  stroke-linecap: round; stroke-linejoin: round;
}
/* Bottom gradient overlay */
.vtabs-img-wrap::after {
  content: ''; position: absolute; inset-x: 0; bottom: 0; height: 35%;
  background: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
  pointer-events: none; z-index: 3;
}

/* Prev / Next */
.vtabs-nav {
  position: absolute; bottom: 1.25rem; right: 1.25rem;
  display: flex; gap: 0.5rem; z-index: 10;
}
.vtabs-nav-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s;
}
.vtabs-nav-btn:hover { background: rgba(0,0,0,0.8); }
.vtabs-nav-btn:active { transform: scale(0.88); }
.vtabs-nav-btn svg {
  width: 16px; height: 16px; stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ── CAPABILITIES ── */
.exp-capabilities {
  background: #000;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.exp-capabilities-inner { max-width: 1100px; margin: 0 auto; }
.exp-cap-header { margin-bottom: 3.5rem; }
.exp-cap-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.03em;
  max-width: 600px; margin-bottom: 1rem;
}
.exp-cap-header p {
  font-size: 0.92rem; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.45); max-width: 600px;
}
.exp-cap-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
.exp-cap-card {
  padding: 2rem 2.25rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  background: rgba(255,255,255,0.018);
  transition: border-color 0.3s, background 0.3s;
}
.exp-cap-card:hover {
  border-color: rgba(0,152,253,0.18);
  background: rgba(0,152,253,0.022);
}
.exp-cap-icon {
  width: 36px; height: 36px; margin-bottom: 1.25rem;
  stroke: var(--primary); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.exp-cap-card h3 {
  font-size: 1rem; font-weight: 600; letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
}
.exp-cap-card p {
  font-size: 0.82rem; font-weight: 300; line-height: 1.7;
  color: rgba(255,255,255,0.42);
}

/* ── SUCCESS STORIES ── */
.exp-projects {
  background: #000;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.exp-projects-inner { max-width: 1100px; margin: 0 auto; }
.exp-proj-header { margin-bottom: 3rem; }
.exp-proj-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}
.exp-proj-header p {
  font-size: 0.9rem; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.42); max-width: 600px;
}
.exp-proj-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.exp-proj-card {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; overflow: hidden;
  background: rgba(255,255,255,0.018);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.exp-proj-card:hover {
  border-color: rgba(0,152,253,0.18);
  background: rgba(0,152,253,0.022);
  transform: translateY(-3px);
}
.exp-proj-thumb {
  height: 150px; 
  position: relative; 
  overflow: hidden;
  background: linear-gradient(160deg, #06101f 0%, #030810 100%);
}
.exp-proj-thumb iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77%; /* relación 16:9 */
  height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none; /* opcional: evita interacción */
}
.exp-proj-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.exp-proj-thumb-placeholder {
  width: 100%; 
  height: 100%;
  background-image: radial-gradient(circle, rgba(0,152,253,0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  display: flex; align-items: center; justify-content: center;
}
.exp-proj-thumb-placeholder svg {
  width: 34px; height: 34px; opacity: 0.12;
  stroke: var(--primary); fill: none; stroke-width: 1;
  stroke-linecap: round; stroke-linejoin: round;
}
.exp-proj-body { padding: 1.25rem 1.5rem 1.5rem; }
.exp-proj-tag {
  display: inline-flex; align-items: center;
  padding: 0.18rem 0.6rem;
  border-radius: 20px;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 0.75rem;
}
.exp-proj-name {
  font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em;
  line-height: 1.3; margin-bottom: 0.45rem;
}
.exp-proj-desc {
  font-size: 0.78rem; font-weight: 300; line-height: 1.65;
  color: rgba(255,255,255,0.38);
}

/* ── CTA ── */
.exp-cta {
  background: #000;
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.exp-cta-inner {
  max-width: 700px; margin: 0 auto; text-align: center;
}
.exp-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.exp-cta p {
  font-size: 0.95rem; font-weight: 300; line-height: 1.8;
  color: rgba(255,255,255,0.45); margin-bottom: 2.5rem;
}
.exp-cta-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2.25rem;
  border-radius: 6px;
  background: var(--primary);
  border: none; color: #fff;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.exp-cta-btn:hover { opacity: 0.88; }
.exp-cta-btn:active { transform: scale(0.97); }
.exp-cta-btn svg {
  width: 14px; height: 14px; stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s;
}
.exp-cta-btn:hover svg { transform: translateX(3px); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .exp-hero-inner { flex-direction: column; gap: 3rem; text-align: center; }
  .exp-hero-desc { margin-left: auto; margin-right: auto; }
  .exp-hero-btns { justify-content: center; }
  .exp-breadcrumb { justify-content: center; }
  .exp-hero-visual { order: -1; }
  .exp-hero-placeholder { width: 300px; height: 220px; }
  .vtabs-panel { order: 2; }
  .vtabs-gallery { position: static; order: 1; }
  .vtabs-img-wrap { aspect-ratio: 16 / 9; }
  .exp-cap-grid { grid-template-columns: 1fr; }
  .exp-proj-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .exp-proj-grid { grid-template-columns: 1fr; }
}
