@font-face {
  font-family: 'Zrnic';
  src: url('./assets/zrnic rg.otf') format('opentype');
}

* { margin:0; padding:0; box-sizing:border-box; }
body { background:#000; color:#fff; font-family:'Zrnic',sans-serif; }

/* HEADER */
header.header{
  position:absolute;
  top:0; left:0;
  width:100%;
   backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(255,255,255,0.10);

  padding:10px 0;
  z-index:1000;
}

.container{
  width:92%;
  max-width:1350px;
  margin:auto;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{ height:80px; }

.nav ul{
  display:flex;
  list-style:none;
  gap:10px;
}

.nav a{
  text-decoration:none;
  color:#fff;
  font-size:18px;
  padding:8px 18px;
  transition: all .25s cubic-bezier(.22,.61,.36,1);
}

.nav a:hover{
  background:rgba(255,255,255,0.12);
  border-color:#EE9319;
  border-bottom: 5px solid #EE9319;
  transform:translateY(-2px) scale(1.06);
  box-shadow:0 6px 14px rgba(0,0,0,0.35);
}

/* HEADER CTAS */
.btn-header-primary{
  background:#00D884;
  color:#fff;
  padding:8px 18px;
  border-radius:4px;
  margin-right:8px;
  border:2px solid #00D884;
  font-size:18px;
  text-decoration:none;
  transition:0.25s;
}
.btn-header-primary:hover{
  background:#00bd71;
  border-color:#00bd71;
}

.btn-header-secondary{
  background:#EE9319;
  color:#fff;
  padding:8px 18px;
  border-radius:4px;
  border:2px solid #EE9319;
  font-size:18px;
  text-decoration:none;
}

/* HERO */
.hero{
  position:relative;
  width:100%;
  height:100vh;
  overflow:hidden;
}

.hero-slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:opacity 1s ease;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-slide.active{
  opacity:1;
}

.overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.45);
  backdrop-filter:blur(0px);
}

.hero-content{
  position:relative;
  text-align:center;
  max-width:auto;
  margin:auto;
  padding:0 20px;
}

.hero h1{
  font-size:84px;
  margin-bottom:12px;
  line-height:1.05;
}

.hero-desc{
  font-size:26px;
  opacity:0.92;
  width:900px;
  margin:0 auto;
  line-height:1.25;
}

.video-slide{
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-video{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-1;
}

@media(max-width:992px){
  .hero h1{ font-size:64px; }
  .hero-desc{ font-size:22px; }
}

@media(max-width:768px){
  .hero h1{ font-size:46px; }
  .hero-desc{ font-size:19px; }
}

/* ===== HERO FIX FULL ===== */

.orange{
  color:#EE9319 !important;
}

.glass{

}

.hero-title{
 text-shadow: 0px 10px 20px rgba(0,0,0,1);
}
.hero-title.enter{
  animation: heroFadeUp .6s ease forwards;
}

@keyframes heroFadeUp{
  to{
    opacity:1;
    transform: translateY(0) scale(1);
  }
}

.hero-desc{
  color:#fff !important;
  opacity:0.95 !important;
   text-shadow: 0px 2px 26px rgba(0,0,0,0.8);
}

.hero-desc.typing{
  border-right: 2px solid rgba(255,255,255,.6) !important;
}
.hero-title {
  display: block !important;
  font-size: 6vw !important;
  color: #fff !important;
  opacity: 0 !important;
  line-height: 1.05 !important;
}

.hero-title.enter{
  opacity:1 !important;
}

.orange {
  color:#EE9319 !important;
}


/* ==== CTA HERO BUTTONS ==== */

.hero-ctas{
  margin-top:28px;
  display:flex;
  justify-content:center;
  gap:20px;
}

.btn-cta-primary{
  background:#00D884;
  color:#fff;
  padding:14px 28px;
  font-size:18px;
  border-radius:10px;
  border:2px solid #00D884;
  text-decoration:none;
  transition: .25s cubic-bezier(.22,.61,.36,1);
}

.btn-cta-primary:hover{
  background:#00bd71;
  border-color:#00bd71;
  transform: translateY(-2px) scale(1.04);
}

.btn-cta-secondary{
  background:transparent;
  color:#fff;
  padding:14px 28px;
  font-size:18px;
  border-radius:10px;
  border:2px solid rgba(255,255,255,0.75);
  text-decoration:none;
  transition: .25s cubic-bezier(.22,.61,.36,1);
}

.btn-cta-secondary:hover{
  background:rgba(255,255,255,0.15);
  transform: translateY(-2px) scale(1.04);
}

@media(max-width:768px){
  .hero-ctas{
    flex-direction:column;
    gap:14px;
  }
  .btn-cta-primary,
  .btn-cta-secondary{
    width:100%;
    text-align:center;
  }
}


/* ==== HOW WORKS ==== */

.how-works{
  padding:120px 0;
  background:#000;
  color:#fff;
}

.hw-wrapper{
  width:92%;
  max-width:1350px;
  margin:0 auto;
  text-align:center;
}

.hw-title{
  font-size:62px;
  font-weight:400;
  margin-bottom:12px;
}

.hw-sub{
  font-size:22px;
  opacity:.82;
  max-width:780px;
  margin:0 auto 70px auto;
  line-height:1.35;
}

.hw-steps{
  display:flex;
  justify-content:center;
  gap:60px;
}

.hw-step{
  max-width:320px;
  text-align:left;
}

.hw-number{
  font-size:56px;
  color:#EE9319;
  font-weight:700;
  margin-bottom:6px;
  opacity:.9;
}

.hw-step h3{
  font-size:28px;
  margin-bottom:8px;
  font-weight:400;
}

.hw-step p{
  opacity:.6;
  line-height:1.35;
}

@media(max-width:992px){
  .hw-steps{
    flex-direction:column;
    gap:40px;
    text-align:center;
  }
  .hw-step{
    max-width:100%;
  }
}.

/* ====== HOW WORKS v2 (Fotos 1:1 + Glass + Rail) ====== */
.hw-v2{ padding:110px 0 140px; background:#000; color:#fff; }
.hw2-wrap{ width:92%; max-width:1350px; margin:0 auto; text-align:center; }

.hw2-title{ font-size:56px; font-weight:400; margin-bottom:10px; }
.hw2-sub{ font-size:20px; opacity:.8; margin:0 auto 56px; max-width:820px; line-height:1.35; }

.hw-rail{
  position:relative;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:34px;
  align-items:start;
}

/* Línea que conecta los 3 pasos */
.hw-rail::before{
  content:"";
  position:absolute;
  left:8%;
  right:8%;
  bottom:138px;              /* pasa justo bajo las imágenes */
  height:2px;
  background: linear-gradient(90deg, rgba(238,147,25,0) 0%, rgba(238,147,25,.7) 20%, rgba(238,147,25,.7) 80%, rgba(238,147,25,0) 100%);
  filter: drop-shadow(0 0 8px rgba(238,147,25,.45));
  pointer-events:none;
}

.hw-card{ text-align:left; }
.hw-card h3{ font-size:24px; margin:14px 0 6px; font-weight:400; }
.hw-card p{ opacity:.7; line-height:1.35; }

/* Imagen 1:1 con glass */
.img-wrap{
  position:relative;
  width:100%;
  aspect-ratio:1/1;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  transform: translateY(0);
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s;
}
.img-wrap:hover{
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0,0,0,.45);
}

.img-wrap img{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
}
.img-glass{
  position:absolute; inset:0;
  background: rgba(0,0,0,.18);               /* glass sutil sobre la foto */
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

/* Badge del paso */
.step-badge{
  position:absolute; top:14px; left:14px;
  background: rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.18);
  border-radius:10px;
  padding:6px 10px;
  font-size:14px;
  letter-spacing:.5px;
  color:#fff;
}

/* Nodo sobre la línea */
.rail-node{
  position:absolute; left:50%; bottom: -12px; transform: translateX(-50%);
  width:14px; height:14px; border-radius:50%;
  background:#EE9319;
  box-shadow: 0 0 0 4px rgba(238,147,25,.15), 0 0 18px rgba(238,147,25,.6);
}

/* Scroll reveal */
.revealable{ opacity:0; transform: translateY(12px); }
.revealable.in-view{ opacity:1; transform: translateY(0); transition: all .6s cubic-bezier(.22,.61,.36,1); }

/* Responsive */
@media (max-width: 992px){
  .hw-rail{ grid-template-columns:1fr; gap:40px; }
  .hw-rail::before{ display:none; }
  .rail-node{ display:none; }
  .hw2-title{ font-size:42px; }
}
.hw-v2{
  padding:110px 0 140px;
  background:#fff;
  background-size: 1200px auto;
  background-repeat: repeat;
  background-position: center;
  color:#000;
}
.hw2-title, .hw2-sub, .hw-card h3, .hw-card p{
  color:#000;
}
.img-wrap{
  border:1px solid #222 !important;
}

.hw2-line{
  width:90px;
  height:4px;
  background:#EE9319;
  margin:14px auto 40px auto;
  border-radius:4px;
}

.img-wrap img{
  transition: filter .3s ease;
}

.img-wrap:hover img{
  filter: brightness(1.12) contrast(1.08);
}

/* ANIMACIÓN rail naranja */
@keyframes railFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hw-rail::before{
  animation: railFlow 6s linear infinite;
  background: linear-gradient(90deg,
    rgba(238,147,25,0) 0%,
    rgba(238,147,25,.7) 20%,
    rgba(238,147,25,.7) 80%,
    rgba(238,147,25,0) 100%
  );
  background-size: 200% 100%;
}


/* ===== Features (blanco + grid 3x3) ===== */
/* ===== FEATURES STYLE V3 ===== */
.fz-v3 {
  background: #fff;              /* ← Fondo blanco */
  padding: 100px 0;
}

.fz-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.fz-title {
  font-family: 'Zrnic', sans-serif;
  font-size: 2.6rem;
  text-align: center;
  color: #111;
  margin-bottom: 10px;
}

.fz-sub {
  text-align: center;
  color: #555;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.5;
}

.fz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}

/* === CARD === */
.fz-card {
  background: #fff;              /* ← Fondo blanco dentro de las cards */
  border: 1px solid #ddd;
  box-shadow: none;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.fz-img {
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.fz-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.fz-card:hover .fz-img img {
  transform: scale(1.03);
}

.fz-card h3 {
  font-family: 'Zrnic', sans-serif;
  font-size: 1.7rem;
  margin: 20px 25px 10px;
  color: #000;
}

.fz-card p {
  font-family: 'Zrnic', sans-serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  margin: 0 25px 20px;
}

.fz-link {
  display: block;
  font-family: 'Zrnic', sans-serif;
  color: #F39021;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0 25px 25px;
  transition: color 0.3s ease;
}

.fz-link:hover {
  color: #ff6a00;
}
/* === CORRECCIÓN FONDO FEATURES === */
section.features,
section.features.fz-v3,
.fz-v3 {
  background: #fff !important;
  color: #000;
}

.fz-wrap,
.fz-grid,
.fz-card {
  background-color: #fff !important;
}
/* ================= MODAL VICNET ================= */

.vz-modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.vz-modal{
  width:94%;
  max-width:780px;
  background:#fff;
  border-radius:20px;
  padding:0 0 32px;
  animation: vzPop .25s ease;
  position:relative;
}

@keyframes vzPop{
  0%{transform:scale(.92);}
 100%{transform:scale(1);}
}

/* close button */
.vz-close{
  position:absolute;
  top:14px; right:14px;
  background:none;
  border:0;
  font-size:32px;
  cursor:pointer;
  color:#333;
  line-height:1;
}

/* imagen arriba */
.vz-modal-img{
  width:100%;
  border-radius:20px 20px 0 0;
  display:block;
  height:auto;
}

/* drag handle para swipe */
.vz-dragger{
  width:40px; 
  height:5px;
  background:#ccc;
  border-radius:3px;
  margin:10px auto 0;
}

/* contenido texto */
.vz-modal-title{
  font-size:28px;
  font-weight:600;
  padding:18px 24px 8px;
  color:#000;
}

.vz-modal-text{
  padding:0 24px;
  font-size:16px;
  color:#444;
  line-height:1.45;
}

/* hover sobre links */
.fz-link{ cursor:pointer; }

/* mobile mejora UX */
@media (max-width:600px){
  .vz-modal{
    border-radius:20px 20px 0 0;
    padding-bottom:40px;
    margin-top:auto; /* baja el modal hacia abajo tipo sheet */
  }
  .vz-modal-img{ border-radius:20px 20px 0 0; }
}

.models{
  padding:100px 0;
  background:#fff;
}

.models .hw2-wrap,
.models .container{
  text-align:center;
}

.models{
  padding:100px 0 120px;
}

.models-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

.model-card{
  background:#fff;
  border-radius:16px;
  padding:28px;
  box-shadow:0 8px 22px rgba(0,0,0,.06);
  text-align:center;
  transition:transform .2s ease, box-shadow .2s ease;
}

.model-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 32px rgba(0,0,0,.10);
}

.model-card img{
  width:100%;
  height:auto;
  display:block;
  margin-bottom:18px;
}

.model-card h3{
  font-size:22px;
  font-weight:700;
  margin-bottom:24px;
  color:#000;
}

.model-ctas{
  display:flex;
  justify-content:center;
  gap:14px;
}
.model-ctas .btn-ft{
  padding:10px 22px;
  background:#EE9319; /* NARANJA VICNET */
  color:#fff;
  border:0;
  border-radius:8px;
  cursor:pointer;
  font-size:15px;
  font-family: 'Zrnic', sans-serif; /* misma fuente */
}

.model-ctas .btn-cotizar{
  padding:10px 22px;
  background:#00C795;  /* verde cian */
  color:#fff;
  border:0;
  border-radius:8px;
  cursor:pointer;
  font-size:15px;
  font-family: 'Zrnic', sans-serif;
}

.model-ctas .btn-ft:hover,
.model-ctas .btn-cotizar:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 14px rgba(0,0,0,.15);
}
/* responsive */
@media(max-width:900px){
  .models-grid{
    grid-template-columns:repeat(2,1fr);
  }
}
@media(max-width:600px){
  .models-grid{
    grid-template-columns:1fr;
  }
}


/* ===== VICNET FEATURES - FLAT STYLE ===== */
.features.fz-v5 {
  background: #fff;
  padding: 100px 0;
}

.fz-title {
  font-family: 'Zrnic', sans-serif;
  font-size: 2.6rem;
  text-align: center;
  color: #111;
  margin-bottom: 10px;
}

.fz-sub {
  text-align: center;
  color: #555;
  font-family: 'Zrnic', sans-serif;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.5;
}

.fz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  padding: 0 30px;
}

.fz-card {
  background: #fff;
  border: 1px solid #ddd;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.fz-img {
  width: 100%;
  height: 230px;
  overflow: hidden;
  border-bottom: 1px solid #eee;
}

.fz-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fz-card h3 {
  font-family: 'Zrnic', sans-serif;
  font-size: 1.6rem;
  margin: 20px 25px 15px;
  color: #000;
}

.fz-list {
  list-style: none;
  margin: 0 25px 25px;
  padding: 0;
}

.fz-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  font-family: 'Zrnic', sans-serif;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
}

.fz-list svg {
  width: 18px;
  height: 18px;
  stroke: #000;
  stroke-width: 1.4;
  fill: none;
  opacity: 0.75;
  flex-shrink: 0;
}
/* ===== VICNET MODELOS - FLAT ICON STYLE ===== */
.models.fz-v5 {
  background: #fff;
  padding: 100px 0;
}

.models .fz-title {
  font-family: 'Zrnic', sans-serif;
  font-size: 2.6rem;
  text-align: center;
  color: #111;
  margin-bottom: 10px;
}

.models .fz-sub {
  text-align: center;
  color: #555;
  font-family: 'Zrnic', sans-serif;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.5;
}

.models .fz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  padding: 0 30px;
}

.models .fz-card {
  background: #fff;
  border: 1px solid #ddd;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.models .fz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.models .fz-img {
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
}

.models .fz-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.models .fz-card h3 {
  font-family: 'Zrnic', sans-serif;
  font-size: 1.6rem;
  margin: 20px 25px 15px;
  color: #000;
}

.models .fz-list {
  list-style: none;
  margin: 0 25px 25px;
  padding: 0;
}

.models .fz-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  font-family: 'Zrnic', sans-serif;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
}

.models .fz-list svg {
  width: 18px;
  height: 18px;
  stroke: #000;
  stroke-width: 1.4;
  fill: none;
  opacity: 0.8;
  flex-shrink: 0;
}
