/* ── PROYECTO.CSS — estilos específicos de proyecto.html ── */

/* ================================================================
   RUZ v2 — MEJORAS SESIÓN 19-SEP-2026
   1) Hero slider: animaciones de texto (txt-anim)
   2) Premium carousel: imagen full-cover + cards más juntas
   3) Shine más lento en cards de servicios
   4) proyecto.html: galería premium rediseño
================================================================ */

/* ── 3. GALERÍA PREMIUM — proyecto.html ─────────────────────── */
.proy-gal-premium {
  border-radius: 18px;
  overflow: hidden;
  background: #030b1a;
  box-shadow: 0 24px 72px rgba(0,0,0,.55);
  position: relative;
}
/* Main swiper */
.proy-main-swiper { width: 100%; }
.proy-main-swiper .swiper-slide img {
  width: 100%; height: 520px;
  object-fit: cover; display: block;
  cursor: zoom-in;
}
@media (max-width: 768px) {
  .proy-main-swiper .swiper-slide img { height: 280px; }
}
/* Counter badge */
.proy-gal-counter {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  background: rgba(0,0,0,.55); backdrop-filter: blur(8px);
  color: #fff; font-size: .78rem; font-weight: 700;
  padding: 4px 13px; border-radius: 99px;
  letter-spacing: .06em; pointer-events: none;
}
/* Nav buttons premium */
.proy-gal-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; border: none; cursor: pointer;
  width: 50px; height: 50px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.15rem;
  transition: all .25s cubic-bezier(.22,1,.36,1);
}
.proy-gal-btn:hover {
  background: var(--ca); border-color: var(--ca);
  box-shadow: 0 0 24px rgba(12,151,218,.5);
}
.proy-gal-btn-prev { left: 14px; }
.proy-gal-btn-next { right: 14px; }
/* Pagination dots */
.proy-gal-pag {
  bottom: 12px !important;
}
.proy-gal-pag .swiper-pagination-bullet {
  background: rgba(255,255,255,.4); opacity: 1; width: 7px; height: 7px;
}
.proy-gal-pag .swiper-pagination-bullet-active {
  background: var(--ca); width: 22px; border-radius: 4px;
}
/* Thumbnail strip */
.proy-thumbs-strip {
  padding: 10px 12px;
  background: rgba(3,11,26,.9);
  display: flex; gap: 8px; overflow-x: auto;
  scrollbar-width: thin; scrollbar-color: var(--ca) transparent;
}
.proy-thumb-item {
  width: 80px; min-width: 80px; height: 54px;
  border-radius: 7px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s, opacity .2s;
  opacity: .45;
  flex-shrink: 0;
}
.proy-thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.proy-thumb-item.active,
.proy-thumb-item:hover { opacity: 1; border-color: var(--ca); }

/* Lightbox full-screen */
.proy-lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.96);
  align-items: center; justify-content: center;
  animation: lbFadeIn .2s ease;
}
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }
.proy-lightbox.open { display: flex; }
.proy-lightbox img {
  max-width: 92vw; max-height: 90vh;
  object-fit: contain; border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.8);
}
.proy-lb-close {
  position: absolute; top: 18px; right: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff; border-radius: 50%;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.15rem;
  transition: background .2s; backdrop-filter: blur(8px);
}
.proy-lb-close:hover { background: rgba(255,255,255,.2); }

/* ================================================================
   RUZ v3 — Botones, Blog, Fixes — 19-SEP-2026
================================================================ */

/* ── 1. NAV "Solicitar Cotización" → BLANCO CON GLOW ───────── */
/* Override: solo afecta el botón dentro del nav/mobile-menu     */
.nav-menu .btn-ruz-primary,
.mobile-menu .btn-ruz-primary {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.55) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.nav-menu .btn-ruz-primary:hover,
.mobile-menu .btn-ruz-primary:hover {
  background: #fff !important;
  color: var(--cm) !important;
  border-color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(255,255,255,.55),
              0 0 36px rgba(255,255,255,.28),
              0 0 60px rgba(255,255,255,.12) !important;
}
/* Cuando el header tiene .scrolled, mantener el glow */
#header.scrolled .nav-menu .btn-ruz-primary {
  background: rgba(255,255,255,.15) !important;
}

/* ── Estilos extraídos del <style> inline de proyecto.html ── */

/* ── PROYECTO DETAIL STYLES ─────────────────────────────── */

/* Hero breadcrumb strip */
.proy-hero {
  background: linear-gradient(135deg, var(--cd) 0%, var(--cm) 100%);
  padding: 120px 0 56px;
  position: relative;
  overflow: hidden;
}
.proy-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,153,204,.12) 0%, transparent 60%);
  pointer-events: none;
}
.proy-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
}
.proy-breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}
.proy-breadcrumb a:hover { color: var(--ca); }
.proy-breadcrumb .sep { color: rgba(255,255,255,.25); }
.proy-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cs);
  background: var(--ca);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.proy-hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}
.proy-hero-sub {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  max-width: 620px;
}
.proy-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  padding: 7px 16px;
  border-radius: 99px;
  transition: all .25s;
  margin-top: 22px;
}
.proy-back-btn:hover {
  color: var(--ca);
  border-color: var(--ca);
  background: rgba(254,240,0,.06);
}

/* ── THUMBNAILS ─────────────────────────────────────────── */
.proy-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--ca) transparent;
}
.proy-thumbs img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  opacity: .55;
  transition: opacity .2s, border-color .2s;
}
.proy-thumbs img.active,
.proy-thumbs img:hover {
  border-color: var(--ca);
  opacity: 1;
}

/* ── VIDEO SECTION ──────────────────────────────────────── */
.proy-video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
  aspect-ratio: 16/9;
}
.proy-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.proy-video-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cp);
  margin-bottom: 12px;
}
.proy-video-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--cp);
  border-radius: 2px;
}

/* ── DESCRIPTION BLOCK ──────────────────────────────────── */
.proy-desc-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cs);
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 12px;
}
.proy-desc-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 42px; height: 3px;
  background: var(--ca);
  border-radius: 3px;
}
.proy-desc-body {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.8;
}
.proy-desc-body p { margin-bottom: 1em; }
.proy-desc-body strong { color: var(--cs); }

/* ── FICHA TÉCNICA ──────────────────────────────────────── */
.proy-ficha {
  background: linear-gradient(135deg, var(--cm) 0%, var(--cd) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #fff;
  border: 1px solid rgba(12,151,218,.18);
  box-shadow: 0 8px 32px rgba(0,31,68,.25);
}
.proy-ficha-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ca);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.proy-ficha-title i { font-size: 1.1rem; }
.proy-ficha-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.5rem;
}
@media (max-width: 480px) { .proy-ficha-grid { grid-template-columns: 1fr; } }
.proy-ficha-item {
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 1rem;
}
.proy-ficha-item:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
@media (max-width: 480px) {
  .proy-ficha-item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 1rem; }
  .proy-ficha-item:last-child { border-bottom: none; padding-bottom: 0; }
}
.proy-ficha-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.4);
  margin-bottom: 4px;
}
.proy-ficha-value {
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 7px;
}
.proy-ficha-value i { color: var(--ca); font-size: .9rem; }

/* ── CTA SIDEBAR ────────────────────────────────────────── */
.proy-cta-card {
  background: linear-gradient(135deg, var(--cm) 0%, var(--ca) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 32px rgba(12,151,218,.20);
}
.proy-cta-card h4 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .5rem;
}
.proy-cta-card p {
  font-size: .88rem;
  opacity: .85;
  margin-bottom: 1.25rem;
}
.btn-proy-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, transform .2s;
  margin-bottom: 10px;
}
.btn-proy-wa:hover { background: #1ebe5c; color: #fff; transform: translateY(-2px); }
.btn-proy-cotizar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-proy-cotizar:hover { background: rgba(255,255,255,.25); color: #fff; transform: translateY(-2px); }

/* ── PROYECTOS RELACIONADOS ─────────────────────────────── */
.proy-rel-card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}
.proy-rel-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,.15); }
.proy-rel-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.proy-rel-body {
  padding: 1rem 1.1rem;
}
.proy-rel-cat {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cp);
  margin-bottom: 4px;
}
.proy-rel-name {
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 700;
  color: var(--cs);
  margin: 0;
}

/* ── NOT FOUND ─────────────────────────────────────────── */
.proy-notfound {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}
.proy-notfound i {
  font-size: 4rem;
  color: rgba(0,153,204,.25);
  margin-bottom: 1.5rem;
}
.proy-notfound h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cs);
  margin-bottom: .75rem;
}
.proy-notfound p { color: #666; margin-bottom: 1.5rem; }

/* ── SECTION DIVIDER ────────────────────────────────────── */
.proy-section-lbl {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--cp);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.proy-section-lbl::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--cp);
  border-radius: 2px;
}

/* skeleton loading */
.proy-skeleton {
  background: linear-gradient(90deg, #e8ecf0 25%, #f3f5f7 50%, #e8ecf0 75%);
  background-size: 200% 100%;
  animation: skel 1.5s infinite;
  border-radius: 6px;
}
@keyframes skel {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── UTILIDADES PROYECTO ─────────────────────────────────── */
.proy-skel-lg { display:inline-block; width:320px; height:42px; border-radius:6px; }
.proy-skel-md { display:inline-block; width:480px; height:20px; border-radius:4px; }

#proy-content,
#proy-notfound,
#proy-relacionados { display: none; }

.proy-divider        { border-color: rgba(0,0,0,.07); }
.proy-fine-print     { font-size: .78rem; color: #999; }

.proy-contact-box    { background: #f8f9fa; border-radius: 12px; padding: 1.4rem; }
.proy-contact-title  { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--cp); margin-bottom: 1rem; }
.proy-contact-list   { display: flex; flex-direction: column; gap: .75rem; }
.proy-contact-link   { display: flex; align-items: center; gap: 10px; color: var(--cs); text-decoration: none; font-size: .9rem; font-weight: 600; }
.proy-contact-link--email { word-break: break-all; }
.proy-contact-link--muted { color: #555; font-size: .85rem; font-weight: 400; }
.proy-contact-icon   { color: var(--cp); font-size: 1rem; }